aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-03-13 14:18:50 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-03-13 14:18:50 +0000
commita6c6f76ceb95a0986fd1a36cc30f8241734d20c3 (patch)
tree23676aa080805386a5011b555713ee774e20f889 /tcg
parent090414a30c6c1d276eca48e76945f2cfcf0cccf9 (diff)
Fix build with -DNDEBUG in CFLAGS
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tcg')
-rw-r--r--tcg/tcg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index e6a1caf795..1818868226 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -27,7 +27,7 @@
#include "config.h"
-#ifndef CONFIG_DEBUG_TCG
+#if !defined(CONFIG_DEBUG_TCG) && !defined(NDEBUG)
/* define it to suppress various consistency checks (faster) */
#define NDEBUG
#endif