summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2011-12-08 22:24:48 +0000
committerTim Angus <tim@ngus.net>2013-01-12 20:16:44 +0000
commita7c5f1075aeea47df7665b3a505aa2b70c6719e3 (patch)
tree5d40b187693aaf980d19aa506c8959b2e88eedb3 /src
parentacdd531bccb0469f74b627589905488d99c394a0 (diff)
Enable zone and hunk debug in debug build.
Diffstat (limited to 'src')
-rw-r--r--src/qcommon/q_shared.h2
-rw-r--r--src/qcommon/qcommon.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qcommon/q_shared.h b/src/qcommon/q_shared.h
index 87750692..2dfce788 100644
--- a/src/qcommon/q_shared.h
+++ b/src/qcommon/q_shared.h
@@ -295,7 +295,7 @@ typedef enum {
#define UI_INVERSE 0x00002000
#define UI_PULSE 0x00004000
-#if defined(_DEBUG) && !defined(BSPC)
+#if !defined(NDEBUG) && !defined(BSPC)
#define HUNK_DEBUG
#endif
diff --git a/src/qcommon/qcommon.h b/src/qcommon/qcommon.h
index 746376fb..ef73a63c 100644
--- a/src/qcommon/qcommon.h
+++ b/src/qcommon/qcommon.h
@@ -889,7 +889,7 @@ temp file loading
*/
-#if defined(_DEBUG) && !defined(BSPC)
+#if !defined(NDEBUG) && !defined(BSPC)
#define ZONE_DEBUG
#endif