mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 14:05:39 +00:00
Fixed mingw64 32-bit build, which does have the correct structure definitions
This commit is contained in:
parent
f354024266
commit
9b99265a5e
|
@ -33,8 +33,8 @@
|
||||||
#include "../SDL_audio_c.h"
|
#include "../SDL_audio_c.h"
|
||||||
#include "SDL_winmm.h"
|
#include "SDL_winmm.h"
|
||||||
|
|
||||||
/*====== WORKAROUND for MinGW's WinAPI header where those structures are being missed ======*/
|
/* MinGW32 mmsystem.h doesn't include these structures */
|
||||||
#if defined(__MINGW32__) && !defined(__MINGW64__)
|
#if defined(__MINGW32__) && defined(_MMSYSTEM_H)
|
||||||
|
|
||||||
typedef struct tagWAVEINCAPS2W
|
typedef struct tagWAVEINCAPS2W
|
||||||
{
|
{
|
||||||
|
@ -65,8 +65,7 @@ typedef struct tagWAVEOUTCAPS2W
|
||||||
GUID NameGuid;
|
GUID NameGuid;
|
||||||
} WAVEOUTCAPS2W,*PWAVEOUTCAPS2W,*NPWAVEOUTCAPS2W,*LPWAVEOUTCAPS2W;
|
} WAVEOUTCAPS2W,*PWAVEOUTCAPS2W,*NPWAVEOUTCAPS2W,*LPWAVEOUTCAPS2W;
|
||||||
|
|
||||||
#endif /* defined(__MINGW32__) && !defined(__MINGW64__) */
|
#endif /* defined(__MINGW32__) && defined(_MMSYSTEM_H) */
|
||||||
/*==========================================================================================*/
|
|
||||||
|
|
||||||
#ifndef WAVE_FORMAT_IEEE_FLOAT
|
#ifndef WAVE_FORMAT_IEEE_FLOAT
|
||||||
#define WAVE_FORMAT_IEEE_FLOAT 0x0003
|
#define WAVE_FORMAT_IEEE_FLOAT 0x0003
|
||||||
|
|
Loading…
Reference in a new issue