diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-01-02 23:05:20 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-01-02 23:05:20 +0000 |
commit | 3dd376dad99d10ec2bc5d9a30381cd5a8a84d0f5 (patch) | |
tree | 7ece195c209181c12ee83a1a1e66e487d1f98a54 | |
parent | 963d1ab8a28c34202588faa00d135afc8145a630 (diff) |
Compile fix for loading BoxConfig.h in MinGW
-rw-r--r-- | lib/win32/emu.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/win32/emu.h b/lib/win32/emu.h index acc91b15..b341c107 100644 --- a/lib/win32/emu.h +++ b/lib/win32/emu.h @@ -18,7 +18,12 @@ #define EMU_INCLUDE // Need feature detection macros below -#include "../common/BoxConfig.h" +#ifdef _MSC_VER +# include "../common/BoxConfig-MSVC.h" +# define NEED_BOX_VERSION_H +#else +# include "../common/BoxConfig.h" +#endif // Shut up stupid new warnings. Thanks MinGW! Ever heard of "compatibility"? #ifdef __MINGW32__ |