A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reintroduce the changes to the windows build chain to allow gcc cross compilation...
[simgrid.git]
/
src
/
portable.h
diff --git
a/src/portable.h
b/src/portable.h
index
03bbd85
..
ab84d51
100644
(file)
--- a/
src/portable.h
+++ b/
src/portable.h
@@
-16,7
+16,7
@@
*/
#ifdef _WIN32
# include "win32/config.h"
*/
#ifdef _WIN32
# include "win32/config.h"
-#
include <windows.h>
+# include <windows.h>
#else
# include "gras_config.h"
#endif
#else
# include "gras_config.h"
#endif
@@
-73,6
+73,11
@@
# define O_BINARY 0
#endif
# define O_BINARY 0
#endif
+#ifdef HAVE_GETLINE
+# define _GNU_SOURCE
+# include <stdio.h>
+#endif
+
/****
**** Time handling
****/
/****
**** Time handling
****/