[Box Backup-commit] COMMIT r3518 - box/trunk/lib/win32

subversion at boxbackup.org subversion at boxbackup.org
Fri Jan 2 23:05:20 GMT 2015


Author: chris
Date: 2015-01-02 23:05:20 +0000 (Fri, 02 Jan 2015)
New Revision: 3518

Modified:
   box/trunk/lib/win32/emu.h
Log:
Compile fix for loading BoxConfig.h in MinGW

Modified: box/trunk/lib/win32/emu.h
===================================================================
--- box/trunk/lib/win32/emu.h	2015-01-02 23:05:17 UTC (rev 3517)
+++ box/trunk/lib/win32/emu.h	2015-01-02 23:05:20 UTC (rev 3518)
@@ -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__




More information about the Boxbackup-commit mailing list