From 092c73eefffc72d7464d05697b23a3954c078f87 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 27 Jul 2009 16:13:04 +0200 Subject: [PATCH] rename DEBUG_TCG to CONFIG_DEBUG_TCG Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- configure | 2 +- tcg/tcg.c | 2 +- tcg/tcg.h | 2 +- 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