mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-14 22:33:43 +00:00
Integrate microsoft_craziness better.
This commit is contained in:
10
src/main.cpp
10
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, ...) {
|
||||
|
||||
Reference in New Issue
Block a user