summaryrefslogtreecommitdiffstats
path: root/src/core/common.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-06 10:23:28 +0100
committeraap <aap@papnet.eu>2021-02-06 10:23:28 +0100
commitcc435ea71187b07a5dd1fbd817dcfb31c0230d7f (patch)
tree959c628cf50e7e6e157a8defd4d42c53ca190cf0 /src/core/common.h
parentfix generic.txd crash (diff)
parentfix (diff)
downloadre3-cc435ea71187b07a5dd1fbd817dcfb31c0230d7f.tar
re3-cc435ea71187b07a5dd1fbd817dcfb31c0230d7f.tar.gz
re3-cc435ea71187b07a5dd1fbd817dcfb31c0230d7f.tar.bz2
re3-cc435ea71187b07a5dd1fbd817dcfb31c0230d7f.tar.lz
re3-cc435ea71187b07a5dd1fbd817dcfb31c0230d7f.tar.xz
re3-cc435ea71187b07a5dd1fbd817dcfb31c0230d7f.tar.zst
re3-cc435ea71187b07a5dd1fbd817dcfb31c0230d7f.zip
Diffstat (limited to '')
-rw-r--r--src/core/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/common.h b/src/core/common.h
index 75ba8863..d39531cc 100644
--- a/src/core/common.h
+++ b/src/core/common.h
@@ -355,7 +355,7 @@ __inline__ void TRACE(char *f, ...) { } // this is re3 only, and so the function
#ifndef MASTER
#define assert(_Expression) (void)( (!!(_Expression)) || (re3_assert(#_Expression, __FILE__, __LINE__, __FUNCTION__), 0) )
#else
-#define assert(_Expression)
+#define assert(_Expression) (_Expression)
#endif
#define ASSERT assert