From a7c5f1075aeea47df7665b3a505aa2b70c6719e3 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Thu, 8 Dec 2011 22:24:48 +0000 Subject: Enable zone and hunk debug in debug build. --- src/qcommon/q_shared.h | 2 +- src/qcommon/qcommon.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qcommon') 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 -- cgit