mirror of
https://github.com/rh-hideout/pokeemerald-expansion.git
synced 2026-03-21 18:04:50 -05:00
fix release compiling
This commit is contained in:
parent
a1948b7c40
commit
5dc8d9a33d
|
|
@ -68,7 +68,7 @@
|
|||
#define _ASSERTF_FMT(cond, fmt, ...) for (bool32 _recover = !(cond); _recover && (_ASSERTF_HANDLE("%s:%d: " fmt, __FILE__, __LINE__ __VA_OPT__(,) __VA_ARGS__), TRUE); _recover = FALSE)
|
||||
|
||||
#if RELEASE
|
||||
#define _ASSERTF_HANDLE(...) 0
|
||||
#define _ASSERTF_HANDLE(...) (void)0
|
||||
#elif TESTING
|
||||
#include "test_result.h"
|
||||
#define _ASSERTF_HANDLE(fmt, ...) Test_ExitWithResult(TEST_RESULT_INVALID, 0, fmt, __VA_ARGS__)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user