diff options
| author | castano <castano@gmail.com> | 2019-11-13 00:23:56 -0800 |
|---|---|---|
| committer | castano <castano@gmail.com> | 2019-11-14 09:30:05 -0800 |
| commit | f8dd4816ffd2dc517e8833c0ccc6e1a3e6775a48 (patch) | |
| tree | 9ea88fb76c7347adbe52f02d0312ea44ee420ddc /src/main.cpp | |
| parent | 928a445a14450e0a08c306ecb6ac59220ad1fd97 (diff) | |
Integrate microsoft_craziness better.
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5294c5994..c25f7998c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,10 +1,5 @@ // #define NO_ARRAY_BOUNDS_CHECK -#if defined(_WIN32) || defined(_WIN64) -// NOTE(IC): In order to find Visual C++ paths without relying on environment variables. -#include "microsoft_craziness.h" -#endif - #include "common.cpp" #include "timings.cpp" #include "tokenizer.cpp" @@ -27,6 +22,11 @@ gb_global Timings global_timings = {0}; #include "ir_print.cpp" #include "query_data.cpp" +#if defined(GB_SYSTEM_WINDOWS) +// NOTE(IC): In order to find Visual C++ paths without relying on environment variables. +#include "microsoft_craziness.h" +#endif + // NOTE(bill): 'name' is used in debugging and profiling modes i32 system_exec_command_line_app(char *name, char *fmt, ...) { |