Integrate microsoft_craziness better.

This commit is contained in:
castano
2019-11-13 00:23:56 -08:00
parent 928a445a14
commit f8dd4816ff
3 changed files with 64 additions and 71 deletions

View File

@@ -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, ...) {