summaryrefslogtreecommitdiff
path: root/lib/common/DebugAssertFailed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/DebugAssertFailed.cpp')
-rw-r--r--lib/common/DebugAssertFailed.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/DebugAssertFailed.cpp b/lib/common/DebugAssertFailed.cpp
index cceab0ef..e498d641 100644
--- a/lib/common/DebugAssertFailed.cpp
+++ b/lib/common/DebugAssertFailed.cpp
@@ -7,7 +7,7 @@
//
// --------------------------------------------------------------------------
-#ifndef NDEBUG
+#ifndef BOX_RELEASE_BUILD
#include "Box.h"
@@ -33,5 +33,5 @@ void BoxDebugAssertFailed(const char *cond, const char *file, int line)
}
-#endif // NDEBUG
+#endif // BOX_RELEASE_BUILD