2
0
Эх сурвалжийг харах

Fix definition. GB_SYSTEM_WINDOWS is not defined yet. Ideally microsoft_crazines.h should be included after common, but conflicts with defer macro.

castano 5 жил өмнө
parent
commit
928a445a14
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/main.cpp

+ 1 - 1
src/main.cpp

@@ -1,6 +1,6 @@
 // #define NO_ARRAY_BOUNDS_CHECK
 
-#if defined(GB_SYSTEM_WINDOWS)
+#if defined(_WIN32) || defined(_WIN64)
 // NOTE(IC): In order to find Visual C++ paths without relying on environment variables.
 #include "microsoft_craziness.h"
 #endif