0022972: Eliminate macro definitions that has compiler-provided analogs (WNT and...
[occt.git] / src / TopExp / TopExp_Explorer.cxx
index 8eebf75..f698f92 100644 (file)
@@ -140,7 +140,7 @@ const TopoDS_Shape&  TopExp_Explorer::Current()const
 //purpose  : 
 //=======================================================================
 
-#ifdef WNT
+#ifdef _MSC_VER
 #pragma warning(push)
 #pragma warning(disable: 4291) // to avoid warning when using new(buffer) syntax
 #endif
@@ -222,7 +222,7 @@ void  TopExp_Explorer::Next()
   hasMore = Standard_False;
 }
 
-#ifdef WNT
+#ifdef _MSC_VER
 #pragma warning(pop)
 #endif