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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user