summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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