[+] AURORA_ASSERTIONS_FORCE_EXPRESSIONS
This commit is contained in:
parent
4d9d6ae474
commit
4d84e8f7f3
@ -8,6 +8,10 @@
|
||||
|
||||
//#pragma once <- AURORA_NO_ASSERTIONS may be redefined. do not cache
|
||||
|
||||
// AURORA_ASSERTIONS_FORCE_EXPRESSIONS < "Exp" suffix by default
|
||||
// AURORA_ASSERTIONS_FORCE_SHIP < emulate ship build
|
||||
// AURORA_ASSERTIONS_NO_EXPRESSIONS < forces expression strings to be stripped no matter the path
|
||||
|
||||
#if defined(AURORA_ASSERTIONS_NO_EXPRESSIONS_UNDER_SHIP)
|
||||
#if defined(AU_CFG_ID_SHIP) || defined(AURORA_ASSERTIONS_FORCE_SHIP)
|
||||
#define AURORA_ASSERTIONS_NO_EXPRESSIONS
|
||||
@ -205,4 +209,12 @@
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(AURORA_ASSERTIONS_FORCE_EXPRESSIONS)
|
||||
#undef SysAssert
|
||||
#undef SysAssertDbg
|
||||
|
||||
#define SysAssert SysAssertExp
|
||||
#define SysAssertDbg SysAssertDbgExp
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user