mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-20 20:54:59 -07:00
Use heap_allocator() with -debug; Reinstate the arena guards
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user