Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
928a445a14
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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