diff options
| author | gingerBill <bill@gingerbill.org> | 2023-01-23 11:38:18 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-01-23 11:38:18 +0000 |
| commit | 55176e52fcb977268625cfc7f7afaaaa6bf5d06f (patch) | |
| tree | 7727aaff0d9516785709fe86da7bdd6a251847a6 /src/build_settings.cpp | |
| parent | 4eb08bb0967b1a184c9e5453d20dc187777317ba (diff) | |
Use `heap_allocator()` with `-debug`; Reinstate the arena guards
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 9f3c81c8f..90e6512c5 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -330,6 +330,11 @@ struct BuildContext { gb_global BuildContext build_context = {0}; +gb_internal bool IS_ODIN_DEBUG(void) { + return build_context.ODIN_DEBUG; +} + + gb_internal bool global_warnings_as_errors(void) { return build_context.warnings_as_errors; } |