Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Define correctly variables for windows.
[simgrid.git] / tools / tesh2 / src / getpath.c
index ffd9e8c..4f768d7 100644 (file)
@@ -10,7 +10,7 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(tesh);
 #include <sys/types.h>\r
 #include <sys/stat.h>\r
 \r
-#ifndef WIN32\r
+#ifndef _XBT_WIN32\r
 #include <pwd.h>\r
 #else\r
 #endif\r
@@ -22,7 +22,7 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(tesh);
 #define PATH_MAX 255\r
 #endif\r
 \r
-#ifndef WIN32\r
+#ifndef _XBT_WIN32\r
 int\r
 getpath(const char* file, char** path)\r
 {\r