From: abd Date: Thu, 4 Sep 2008 13:45:47 +0000 (+0000) Subject: Porting functionality on Win32 Platform X-Git-Tag: TG_TRIPOLI_qt4_porting~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1a991ddfc29f9be3af442302d267cbd496ced92d;p=modules%2Fgui.git Porting functionality on Win32 Platform --- diff --git a/src/OCCViewer/OCCViewer.cxx b/src/OCCViewer/OCCViewer.cxx index 14640ffa3..cf7f06e6a 100644 --- a/src/OCCViewer/OCCViewer.cxx +++ b/src/OCCViewer/OCCViewer.cxx @@ -26,7 +26,7 @@ void OCCViewer_Init(); extern "C" { -#ifdef WNT /* disable MS VC++ warning on C-style function returning C++ object */ +#ifdef WIN32 /* disable MS VC++ warning on C-style function returning C++ object */ #pragma warning(push) #pragma warning(disable:4190) #endif @@ -36,7 +36,7 @@ extern "C" Handle( OpenGl_GraphicDriver ) aDriver = new OpenGl_GraphicDriver( AShrName ); return aDriver; } -#ifdef WNT +#ifdef WIN32 #pragma warning(pop) #endif