Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reintroduce the changes to the windows build chain to allow gcc cross compilation...
[simgrid.git] / src / portable.h
index 03bbd85..ab84d51 100644 (file)
@@ -16,7 +16,7 @@
 */ 
 #ifdef _WIN32
 # include "win32/config.h"
-#  include <windows.h>
+# include <windows.h>
 #else
 #  include "gras_config.h"
 #endif
 #  define O_BINARY 0
 #endif
 
+#ifdef HAVE_GETLINE
+#  define _GNU_SOURCE
+#  include <stdio.h>
+#endif
+
 /****
  **** Time handling
  ****/