Salome HOME
Compilation on Windows
[modules/yacs.git] / src / runtime / XMLNode.cxx
index 9e18f4c8403c90a1513d239665a57ae98848044a..c3f15f58b390ddca9a12752cc5571914bbe965aa 100644 (file)
@@ -31,7 +31,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 
-#ifdef WNT
+#ifdef WIN32
 #include <windows.h>
 #include <io.h>
 #define chmod _chmod
@@ -92,7 +92,7 @@ void XmlNode::execute()
   char dir[]="yacsXXXXXX";
   // add a lock around mkdtemp (seems not thread safe)
   MUTEX.lock();
-#ifdef WNT
+#ifdef WIN32
   char mdir [512+1];
   GetTempPath(MAX_PATH+1, mdir);
   CreateDirectory(mdir, NULL);