OSDN Git Service

rename DEBUG_TCG to CONFIG_DEBUG_TCG
authorJuan Quintela <quintela@redhat.com>
Mon, 27 Jul 2009 14:13:04 +0000 (16:13 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 27 Jul 2009 19:09:21 +0000 (14:09 -0500)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure
tcg/tcg.c
tcg/tcg.h

index 68dda0d..abbe5c0 100755 (executable)
--- 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
index 0ba1b6a..93066e2 100644 (file)
--- 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
index ad0bd14..35e6aeb 100644 (file)
--- 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