Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill our _XBT_WIN32. Standard _WIN32 is sufficient
[simgrid.git] / src / portable.h
index 487a6f1..9e5adda 100644 (file)
 
 #include "xbt/base.h"
 #include "xbt/misc.h"
-#ifdef _XBT_WIN32
+#ifdef _WIN32
 # include <windows.h>
 #endif
 
 #include <stdarg.h>
 #include <stdio.h>
 
-#ifdef HAVE_ERRNO_H
-#  include <errno.h>
-#endif
-
 #ifdef HAVE_UNISTD_H
 #  include <unistd.h>
 #endif
@@ -43,7 +39,7 @@
 
 #include <fcntl.h>
 
-#ifdef _XBT_WIN32
+#ifdef _WIN32
   #ifndef EWOULDBLOCK
   #define EWOULDBLOCK WSAEWOULDBLOCK
   #endif
   #define S_IWGRP 0
 #endif
 
-#ifdef HAVE_SYS_STAT_H
-#  include <sys/stat.h>
-#endif
-
 #ifndef O_BINARY
 #  define O_BINARY 0
 #endif