From 1a991ddfc29f9be3af442302d267cbd496ced92d Mon Sep 17 00:00:00 2001 From: abd Date: Thu, 4 Sep 2008 13:45:47 +0000 Subject: [PATCH] Porting functionality on Win32 Platform --- src/OCCViewer/OCCViewer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2