Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill old $Id$ command dating from CVS
[simgrid.git] / src / portable.h
index 669bd2b..12525aa 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* portable -- header loading to write portable code                         */
 /* loads much more stuff than sysdep.h since the latter is in public interface*/
 
@@ -11,6 +9,7 @@
 #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 "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