[+] AURORA_ASSERTIONS_FORCE_EXPRESSIONS

This commit is contained in:
Reece Wilson 2023-04-21 22:21:28 +01:00
parent 4d9d6ae474
commit 4d84e8f7f3

View File

@ -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