Salome HOME
Replace deprecated WNT macro definition by WIN32.
[modules/geom.git] / src / GEOMImpl / GEOMImpl_IInsertOperations.cxx
index 311e43eb1e20aa913322fbbf7bf524a46dc184e5..0e2ad239f6519def92cf24ab8593d3eede363f12 100644 (file)
@@ -514,7 +514,7 @@ Standard_Boolean GEOMImpl_IInsertOperations::IsSupported
       aKey += aMode;
       if (myResMgr->Find(aKey.ToCString())) {
         TCollection_AsciiString aLibName (myResMgr->Value(aKey.ToCString()));        
-#ifndef WNT
+#ifndef WIN32
         aLibName += ".so";     
 #else
         aLibName += ".dll";
@@ -559,7 +559,7 @@ Standard_Boolean GEOMImpl_IInsertOperations::InitResMgr()
     // Initialize the Resource Manager
     TCollection_AsciiString aNull;
     aResDir = TCollection_AsciiString(getenv("GEOM_ROOT_DIR"));
-#ifdef WNT
+#ifdef WIN32
     aResDir += "\\share\\salome\\resources\\geom";
 #else
     aResDir += "/share/salome/resources/geom";
@@ -586,7 +586,7 @@ Standard_Boolean GEOMImpl_IInsertOperations::InitResMgr()
     else
     {
       aUserResDir = getenv("HOME");
-#ifdef WNT
+#ifdef WIN32
       aUserResDir += "\\.salome\\resources";
 #else
       aUserResDir += "/.salome/resources";