BASALT_ENABLE_ALLOC_RECORDS is now an optional define that is controllable by the end-user. If not defined before including a basalt header, it will be defined as 0 (disabled)

This commit is contained in:
2025-07-10 00:47:58 +10:00
parent d550307011
commit fb2067e7f8

View File

@@ -1,6 +1,8 @@
#pragma once #pragma once
#define BASALT_ENABLE_ALLOC_RECORDS 1 #ifndef BASALT_ENABLE_ALLOC_RECORDS
#define BASALT_ENABLE_ALLOC_RECORDS 0
#endif
#if defined(__clang__) || defined(__gcc__) #if defined(__clang__) || defined(__gcc__)
#define STATIC_ASSERT(x,y) _Static_assert(x,y) #define STATIC_ASSERT(x,y) _Static_assert(x,y)