From: Karsten Ballüder Date: Mon, 13 Jul 1998 12:47:02 +0000 (+0000) Subject: Quick fix to avoid unnecessary compiler warnings from duplicate __WXDEBUG__ defines. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/70bb5dba34af9ff4db8b0f21b28a8ab31f8b72cc?hp=4acbf24597fb8244a519651694e8510dc3f3234c Quick fix to avoid unnecessary compiler warnings from duplicate __WXDEBUG__ defines. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/install/gtk/configure.in b/install/gtk/configure.in index 21a7cbc971..d7db7f05e2 100644 --- a/install/gtk/configure.in +++ b/install/gtk/configure.in @@ -947,7 +947,6 @@ AC_SUBST(WXDEBUG) if test "$USE_DEBUG_FLAG" = 1 ; then AC_DEFINE_UNQUOTED(WXDEBUG,$USE_DEBUG_FLAG) - AC_DEFINE_UNQUOTED(__WXDEBUG__,$USE_DEBUG_FLAG) WXDEBUG_DEFINE="-D__WXDEBUG__" AC_SUBST(WXDEBUG_DEFINE) fi diff --git a/src/gtk/setup/setup.hin b/src/gtk/setup/setup.hin index 1579f25a23..8547dcf6ec 100644 --- a/src/gtk/setup/setup.hin +++ b/src/gtk/setup/setup.hin @@ -194,10 +194,6 @@ * Enables debugging: memory tracing, assert, etc., contains debug level */ #undef WXDEBUG -/* - * Enables debugging: memory tracing, assert, etc., undefined if no debugging - */ -#undef __WXDEBUG__ /* * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG) * WARNING: this code may not work with all architectures, especially diff --git a/src/gtk1/setup/setup.hin b/src/gtk1/setup/setup.hin index 1579f25a23..8547dcf6ec 100644 --- a/src/gtk1/setup/setup.hin +++ b/src/gtk1/setup/setup.hin @@ -194,10 +194,6 @@ * Enables debugging: memory tracing, assert, etc., contains debug level */ #undef WXDEBUG -/* - * Enables debugging: memory tracing, assert, etc., undefined if no debugging - */ -#undef __WXDEBUG__ /* * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG) * WARNING: this code may not work with all architectures, especially