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
Fix last commit of Medhi so that the Java bindings still commit
[simgrid.git]
/
src
/
portable.h
diff --git
a/src/portable.h
b/src/portable.h
index
669bd2b
..
3b4d34a
100644
(file)
--- a/
src/portable.h
+++ b/
src/portable.h
@@
-11,6
+11,7
@@
#ifndef GRAS_PORTABLE_H
#define GRAS_PORTABLE_H
#ifndef GRAS_PORTABLE_H
#define GRAS_PORTABLE_H
+#include "simgrid_config.h"
#include "xbt/misc.h"
/*
* win32 or win64 (__WIN32 is defined for win32 and win64 applications, __TOS_WIN__ is defined by xlC).
#include "xbt/misc.h"
/*
* win32 or win64 (__WIN32 is defined for win32 and win64 applications, __TOS_WIN__ is defined by xlC).
@@
-22,14
+23,6
@@
# include "gras_config.h"
#endif
# include "gras_config.h"
#endif
-/* Load this asap to make sure that GNU_SOURCE is defined on need when stdio gets loaded by some random system header */
-#ifdef HAVE_GETLINE
-# ifndef _GNU_SOUCE
-# define _GNU_SOURCE
-# endif
-# include <stdio.h>
-#endif
-
#include <stdarg.h>
#ifdef HAVE_ERRNO_H
#include <stdarg.h>
#ifdef HAVE_ERRNO_H