summaryrefslogtreecommitdiff
path: root/lib/common/DebugPrintf.cpp
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/DebugPrintf.cpp
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/DebugPrintf.cpp')
-rw-r--r--lib/common/DebugPrintf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/DebugPrintf.cpp b/lib/common/DebugPrintf.cpp
index 8d75f458..1335d473 100644
--- a/lib/common/DebugPrintf.cpp
+++ b/lib/common/DebugPrintf.cpp
@@ -7,7 +7,7 @@
//
// --------------------------------------------------------------------------
-#ifndef NDEBUG
+#ifndef BOX_RELEASE_BUILD
#include "Box.h"
@@ -80,4 +80,4 @@ int BoxDebugTrace(const char *format, ...)
}
-#endif // NDEBUG
+#endif // BOX_RELEASE_BUILD