Explorar o código

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

castano %!s(int64=5) %!d(string=hai) anos
pai
achega
928a445a14
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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