Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[win] protect the inclusion of a non-existing file
[simgrid.git] / src / xbt / memory_map.cpp
index 0fc10cb..29640c0 100644 (file)
@@ -9,7 +9,9 @@
 #include <cstring>
 
 #include <sys/types.h>
-#include <sys/mman.h>
+#ifdef __linux__
+# include <sys/mman.h>
+#endif
 
 #include <xbt/sysdep.h>
 #include <xbt/base.h>