aboutsummaryrefslogtreecommitdiff
path: root/src/build_settings.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-09-15 12:27:53 +0100
committergingerBill <bill@gingerbill.org>2020-09-15 12:27:53 +0100
commitedbad0709efe050441f3bc27fe22a9597b2bae06 (patch)
treec6f2bad57a7cd8deb2403b44d3b9094ee7862073 /src/build_settings.cpp
parentbfc7d74967b0c5b8c2696fdfcb02fe449c9d94ef (diff)
Add -default-to-nil-allocator flag (sets `ODIN_DEFAULT_TO_NIL_ALLOCATOR`)
Diffstat (limited to 'src/build_settings.cpp')
-rw-r--r--src/build_settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp
index 39deb4063..0d5352347 100644
--- a/src/build_settings.cpp
+++ b/src/build_settings.cpp
@@ -111,6 +111,7 @@ struct BuildContext {
String ODIN_ROOT; // Odin ROOT
bool ODIN_DEBUG; // Odin in debug mode
bool ODIN_DISABLE_ASSERT; // Whether the default 'assert' et al is disabled in code or not
+ bool ODIN_DEFAULT_TO_NIL_ALLOCATOR; // Whether the default allocator is a "nil" allocator or not (i.e. it does nothing)
TargetEndianKind endian_kind;