Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[MSVC] unistd.h does not exist on windows
authorMartin Quinson <martin.quinson@loria.fr>
Sat, 12 Sep 2015 23:08:23 +0000 (01:08 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sat, 12 Sep 2015 23:08:23 +0000 (01:08 +0200)
src/xbt/parmap.c

index b5d9025..a19ed04 100644 (file)
@@ -5,7 +5,9 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "internal_config.h"
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 
 #ifndef _XBT_WIN32
 #include <sys/syscall.h>