diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/win32/emu.h | 5 | ||||
-rwxr-xr-x | lib/win32/getopt_long.cpp | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/win32/emu.h b/lib/win32/emu.h index 151fa2cb..81370a1b 100644 --- a/lib/win32/emu.h +++ b/lib/win32/emu.h @@ -15,6 +15,11 @@ #if ! defined EMU_INCLUDE && defined WIN32 #define EMU_INCLUDE +// Shut up stupid new warnings. Thanks MinGW! Ever heard of "compatibility"? +#ifdef __MINGW32__ +# define __MINGW_FEATURES__ 0 +#endif + // basic types, may be required by other headers since we // don't include sys/types.h diff --git a/lib/win32/getopt_long.cpp b/lib/win32/getopt_long.cpp index 5d910e1b..31695aa0 100755 --- a/lib/win32/getopt_long.cpp +++ b/lib/win32/getopt_long.cpp @@ -58,6 +58,7 @@ */
// #include "Box.h"
+#include "emu.h"
#include <errno.h>
#include <stdarg.h>
|