summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/Cmm.h2
-rw-r--r--includes/Rts.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/Cmm.h b/includes/Cmm.h
index 9b17e9f400..94951bc9f8 100644
--- a/includes/Cmm.h
+++ b/includes/Cmm.h
@@ -217,7 +217,7 @@
#undef ASSERTS_ENABLED
#endif
-#if ASSERTS_ENABLED
+#if defined(ASSERTS_ENABLED)
#define ASSERT(predicate) \
if (predicate) { \
/*null*/; \
diff --git a/includes/Rts.h b/includes/Rts.h
index 82fd48fcbf..e3471cf333 100644
--- a/includes/Rts.h
+++ b/includes/Rts.h
@@ -138,7 +138,7 @@ void _assertFail(const char *filename, unsigned int linenum)
#undef ASSERTS_ENABLED
#endif
-#if ASSERTS_ENABLED
+#if defined(ASSERTS_ENABLED)
#define ASSERT(predicate) \
do { CHECK(predicate); } while(0)
#define ASSERTM(predicate,msg,...) \