0022972: Eliminate macro definitions that has compiler-provided analogs (WNT and...
[occt.git] / src / ViewerTest / ViewerTest.cxx
index 0028b3c..69e3e01 100644 (file)
@@ -76,7 +76,7 @@
 #include <Draw_PluginMacro.hxx>
 
 // avoid warnings on 'extern "C"' functions returning C++ classes
-#ifdef WNT
+#ifdef _MSC_VER
 #define _CRT_SECURE_NO_DEPRECATE
 #pragma warning(4:4190)
 #pragma warning (disable:4996)