aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorcastano <castano@gmail.com>2019-11-12 23:31:28 -0800
committercastano <castano@gmail.com>2019-11-14 09:29:59 -0800
commit928a445a14450e0a08c306ecb6ac59220ad1fd97 (patch)
treea255ad5b795d5a8b57c9e435aa822481e8fca72a /src/main.cpp
parent42cd78497a4f5883844fde54b0ef5f95d010b630 (diff)
Fix definition. GB_SYSTEM_WINDOWS is not defined yet. Ideally microsoft_crazines.h should be included after common, but conflicts with defer macro.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 93c52b94d..5294c5994 100644
--- a/src/main.cpp
+++ b/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