summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2015-01-02 23:05:20 +0000
committerChris Wilson <chris+github@qwirx.com>2015-01-02 23:05:20 +0000
commit3dd376dad99d10ec2bc5d9a30381cd5a8a84d0f5 (patch)
tree7ece195c209181c12ee83a1a1e66e487d1f98a54 /lib
parent963d1ab8a28c34202588faa00d135afc8145a630 (diff)
Compile fix for loading BoxConfig.h in MinGW
Diffstat (limited to 'lib')
-rw-r--r--lib/win32/emu.h7
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__