mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 08:37:41 +00:00
buildfix for certain mingw environments
This commit is contained in:
parent
78bf72e29e
commit
4efc8453c2
@ -35,7 +35,15 @@
|
||||
|
||||
#if defined(_WIN32) && !defined(_XBOX) && !defined(_MSC_VER) && _WIN32_WINNT >= 0x0500
|
||||
/* MinGW Win32 HID API */
|
||||
#include <minwindef.h>
|
||||
#include <wtypes.h>
|
||||
#include <tchar.h>
|
||||
#ifdef __NO_INLINE__
|
||||
/* Workaround MinGW issue where compiling without -O2 (which sets __NO_INLINE__) causes the strsafe functions
|
||||
* to never be defined (only declared).
|
||||
*/
|
||||
#define __CRT_STRSAFE_IMPL
|
||||
#endif
|
||||
#include <strsafe.h>
|
||||
#include <guiddef.h>
|
||||
#include <ks.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user