From 928a445a14450e0a08c306ecb6ac59220ad1fd97 Mon Sep 17 00:00:00 2001 From: castano Date: Tue, 12 Nov 2019 23:31:28 -0800 Subject: Fix definition. GB_SYSTEM_WINDOWS is not defined yet. Ideally microsoft_crazines.h should be included after common, but conflicts with defer macro. --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') 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 -- cgit v1.2.3