summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-04 23:43:04 +0100
committerwithmorten <morten.with@gmail.com>2021-02-04 23:43:04 +0100
commita78212ea800fe1919d5380beb25514e3887bcdea (patch)
treed45969bfde61428e6b36d320488d6187ece1b8b6 /src/core
parentadd missing ASCII_STRCMP stuff (diff)
downloadre3-a78212ea800fe1919d5380beb25514e3887bcdea.tar
re3-a78212ea800fe1919d5380beb25514e3887bcdea.tar.gz
re3-a78212ea800fe1919d5380beb25514e3887bcdea.tar.bz2
re3-a78212ea800fe1919d5380beb25514e3887bcdea.tar.lz
re3-a78212ea800fe1919d5380beb25514e3887bcdea.tar.xz
re3-a78212ea800fe1919d5380beb25514e3887bcdea.tar.zst
re3-a78212ea800fe1919d5380beb25514e3887bcdea.zip
Diffstat (limited to 'src/core')
-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