From fbae49eedf664c3492d72fc05cb6b869b13c046b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 23 Jun 2003 16:04:09 +0000 Subject: [PATCH] use __VISUALC__ instead of _MSC_VER to avoid problems with CW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/object.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/object.cpp b/src/common/object.cpp index bbe780c07e..8dad5efc0f 100644 --- a/src/common/object.cpp +++ b/src/common/object.cpp @@ -46,7 +46,7 @@ // we must disable optimizations for VC.NET because otherwise its too eager // linker discards wxClassInfo objects in release build thus breaking many, // many things -#if defined _MSC_VER && _MSC_VER >= 1300 +#if defined __VISUALC__ && __VISUALC__ >= 1300 #pragma optimize("", off) #endif @@ -55,7 +55,7 @@ wxClassInfo wxObject::sm_classwxObject( wxT("wxObject"), 0, 0, (wxObjectConstructorFn) 0 ); // restore optimizations -#if defined _MSC_VER && _MSC_VER >= 1300 +#if defined __VISUALC__ && __VISUALC__ >= 1300 #pragma optimize("", on) #endif -- 2.45.2