summaryrefslogtreecommitdiff
path: root/lib/common/Box.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-12-30 14:54:55 +0000
committerChris Wilson <chris+github@qwirx.com>2008-12-30 14:54:55 +0000
commitf5a529cfd4a9f1920c0b1d75375258dab2d71be1 (patch)
tree83028df92c92eae6557bf6bfecb943a8ca9c8df9 /lib/common/Box.h
parenta5400afe73492cbb8e0049a7facb2b32f0fcad04 (diff)
Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as
well (e.g. wxWidgets) and it causes conflicts which are difficult to resolve.
Diffstat (limited to 'lib/common/Box.h')
-rw-r--r--lib/common/Box.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/Box.h b/lib/common/Box.h
index 6b50ade1..1124a062 100644
--- a/lib/common/Box.h
+++ b/lib/common/Box.h
@@ -37,7 +37,7 @@
#include "CommonException.h"
#include "Logging.h"
-#ifndef NDEBUG
+#ifndef BOX_RELEASE_BUILD
extern bool AssertFailuresToSyslog;
#define ASSERT_FAILS_TO_SYSLOG_ON {AssertFailuresToSyslog = true;}