Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
teach the platform upgrading script about the s/:/_/ in the DTD
[simgrid.git] / tools / tesh2 / src / xerrno.c
index 3db98e1..0b8deff 100644 (file)
@@ -351,7 +351,7 @@ entry_t err[] =
 \r
 #include <stdio.h>\r
 \r
-#ifdef WIN32\r
+#ifdef _XBT_WIN32\r
 static char *\r
 w32error_to_string(DWORD errcode) \r
 {\r
@@ -391,7 +391,7 @@ error_to_string(int errcode, int kind)
                if(err[i].code == errcode && err[i].kind == kind)\r
                        return err[i].string;\r
 \r
-       #ifdef WIN32\r
+       #ifdef _XBT_WIN32\r
 \r
        /* assume it's a W32 error */\r
        return w32error_to_string((DWORD)errcode);\r