Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Delete a redefine warning.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 24 Mar 2010 15:28:32 +0000 (15:28 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 24 Mar 2010 15:28:32 +0000 (15:28 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7351 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/simgrid_config.h.in

index ca6c550..f82be86 100644 (file)
@@ -26,7 +26,9 @@
 #include <stdio.h>  /* FILE*  */
 XBT_PUBLIC(long) getline(char **lineptr, size_t * n, FILE * stream);
 #else
-#define _GNU_SOURCE
+#ifndef _GNU_SOURCE
+       #define _GNU_SOURCE
+#endif
 #include <stdio.h>
 #endif