diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-02-01 21:00:32 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-02-01 21:00:32 +0000 |
| commit | 7944b7714f5478b9a89e3fc1e331e8090652e49e (patch) | |
| tree | dd4ff5c2ba09646051dfd55ca7ad388b657678d3 /src/main.c | |
| parent | 205f4664f8da99d530ef6c1d13419859f3b4ed86 (diff) | |
Add build guards around compiling part of the code.
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index a9a199698..3ff20ac61 100644 --- a/src/main.c +++ b/src/main.c @@ -266,7 +266,7 @@ int main(int argc, char **argv) { return exit_code; } - #if 1 + #if defined(GB_SYSTEM_WINDOWS) timings_start_section(&timings, str_lit("llvm-llc")); // For more arguments: http://llvm.org/docs/CommandGuide/llc.html exit_code = system_exec_command_line_app("llvm-llc", false, @@ -324,6 +324,9 @@ int main(int argc, char **argv) { if (run_output) { system_exec_command_line_app("odin run", false, "%.*s.exe", cast(int)base_name_len, output_name); } + + #else + #error Implement build stuff for this platform #endif #endif #endif |