fixed -Wundef warning due to HAVE_MMDEVICEAPI_H

main
Ozkan Sezer 2023-05-05 03:32:56 +03:00
parent 450c947949
commit d7f1719777
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
*/ */
#include "SDL_internal.h" #include "SDL_internal.h"
#if (defined(__WIN32__) || defined(__GDK__)) && HAVE_MMDEVICEAPI_H #if (defined(__WIN32__) || defined(__GDK__)) && defined(HAVE_MMDEVICEAPI_H)
#include "SDL_windows.h" #include "SDL_windows.h"
#include "SDL_immdevice.h" #include "SDL_immdevice.h"
@ -527,4 +527,4 @@ WaveFormatToSDLFormat(WAVEFORMATEX *waveformat)
return 0; return 0;
} }
#endif /* (defined(__WIN32__) || defined(__GDK__)) && HAVE_MMDEVICEAPI_H */ #endif /* (defined(__WIN32__) || defined(__GDK__)) && defined(HAVE_MMDEVICEAPI_H) */