From edbad0709efe050441f3bc27fe22a9597b2bae06 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 15 Sep 2020 12:27:53 +0100 Subject: Add -default-to-nil-allocator flag (sets `ODIN_DEFAULT_TO_NIL_ALLOCATOR`) --- src/build_settings.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/build_settings.cpp') 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; -- cgit v1.2.3