diff options
| author | gingerBill <bill@gingerbill.org> | 2022-07-09 23:55:02 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-07-09 23:55:02 +0100 |
| commit | e8148055ad78489832c55aab9b81edd694440d63 (patch) | |
| tree | af5fc040e6a8ea17d283f6ad759e760079551a2d /src/build_settings.cpp | |
| parent | dd0a20ab45fc9965ccfdc219b22171e1b1b07f82 (diff) | |
Fix compilation on non-windows platforms
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 53f28b01a..65da09df0 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -1321,6 +1321,7 @@ bool init_build_paths(String init_filename) { return true; } + #if defined(GB_SYSTEM_WINDOWS) if (bc->metrics.os == TargetOs_windows) { if (bc->resource_filepath.len > 0) { bc->build_paths[BuildPath_RC] = path_from_string(ha, bc->resource_filepath); @@ -1378,6 +1379,7 @@ bool init_build_paths(String init_filename) { } } } + #endif // All the build targets and OSes. String output_extension; |