Workaround for DEBUG not defined on Windows FastDebug builds
authorMarc Cannon <vyhdycokio@gmail.com>
Fri, 25 Jan 2013 01:27:21 +0000 (20:27 -0500)
committerPat Mac <itgpmc@gmail.com>
Thu, 7 Feb 2013 09:36:19 +0000 (01:36 -0800)
src/archutils/Win32/arch_setup.h

index fc14658..3632011 100644 (file)
@@ -5,13 +5,17 @@
 #define SUPPORT_OPENGL\r
 #endif\r
 \r
-/* We're using different macros through the codebase. Declare them all here */\r
+/* We're using different macros through the codebase. Declare them all here: */\r
 #ifdef _WIN32\r
 #define WIN32\r
 #define WINDOWS\r
 #define _WINDOWS\r
 #endif\r
 \r
+#ifdef _DEBUG\r
+#define DEBUG\r
+#endif\r
+\r
 #define SUPPORT_D3D\r
 \r
 /* Fix VC breakage. */\r