X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e702ab351f24530b90709025ac52a3a1c96b3d8..ef094fa075bc56bcbc33b12159c395ea28afda3b:/include/wx/debug.h diff --git a/include/wx/debug.h b/include/wx/debug.h index 93f394a60b..2a8a9b44bc 100644 --- a/include/wx/debug.h +++ b/include/wx/debug.h @@ -6,7 +6,7 @@ // Created: 29/01/98 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_DEBUG_H_ @@ -182,13 +182,13 @@ WXDLLEXPORT_DATA(extern const bool) wxFalse; result in a warning about unused variable) and a named struct (otherwise we'd get a warning about an unnamed struct not used to define an object!). The _n__ part is to stop VC++ 7 being confused since it encloses __LINE++ in - parentheses. Unfortunately this does not work with MetroWerks CW so this fix - is being limited to VC++. + parentheses. Unfortunately this does not work with other compilers, so + we will only enable it when we know the _precise_ symbols to test for. */ #define wxMAKE_ASSERT_NAME_HELPER(line) wxAssert_ ## line #define wxMAKE_ASSERT_NAME(line) wxMAKE_ASSERT_NAME_HELPER(line) -#ifdef __VISUALC__ +#if 0 #define wxMAKE_UNIQUE_ASSERT_NAME wxMAKE_ASSERT_NAME(_n___ ## __LINE__) #else #define wxMAKE_UNIQUE_ASSERT_NAME wxMAKE_ASSERT_NAME(__LINE__)