aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-27 16:13:04 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:09:21 -0500
commit092c73eefffc72d7464d05697b23a3954c078f87 (patch)
tree6f04a080e66db04cb696ff6a1dc09042800c7c6f
parent936dfb80f81df9f688cd37fbc1d93dc7b3f1d905 (diff)
rename DEBUG_TCG to CONFIG_DEBUG_TCG
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rwxr-xr-xconfigure2
-rw-r--r--tcg/tcg.c2
-rw-r--r--tcg/tcg.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 68dda0d8f9..abbe5c0a17 100755
--- a/configure
+++ b/configure
@@ -1519,7 +1519,7 @@ arch_name=`echo $ARCH | tr '[:lower:]' '[:upper:]'`
echo "#define HOST_$arch_name 1" >> $config_host_h
if test "$debug_tcg" = "yes" ; then
- echo "#define DEBUG_TCG 1" >> $config_host_h
+ echo "#define CONFIG_DEBUG_TCG 1" >> $config_host_h
fi
if test "$debug" = "yes" ; then
echo "#define DEBUG_EXEC 1" >> $config_host_h
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 0ba1b6a3ea..93066e2495 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -27,7 +27,7 @@
#include "config.h"
-#ifndef DEBUG_TCG
+#ifndef CONFIG_DEBUG_TCG
/* define it to suppress various consistency checks (faster) */
#define NDEBUG
#endif
diff --git a/tcg/tcg.h b/tcg/tcg.h
index ad0bd142a9..35e6aeb6f5 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -121,7 +121,7 @@ typedef tcg_target_ulong TCGArg;
are aliases for target_ulong and host pointer sized values respectively.
*/
-#ifdef DEBUG_TCG
+#ifdef CONFIG_DEBUG_TCG
#define DEBUG_TCGV 1
#endif