include elementary_config.h first (hence no need for _GNU_SOURCE)
authorVincent Torri <vincent.torri@gmail.com>
Fri, 20 Apr 2012 07:35:46 +0000 (07:35 +0000)
committerVincent Torri <vincent.torri@gmail.com>
Fri, 20 Apr 2012 07:35:46 +0000 (07:35 +0000)
SVN revision: 70349

src/bin/test.c

index 2bafaa6..2ca69d2 100644 (file)
@@ -1,11 +1,10 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
 
-#define _GNU_SOURCE
 #include <string.h>
 #include <Elementary.h>
 #include "test.h"
-#ifdef HAVE_CONFIG_H
-# include "elementary_config.h"
-#endif
 #ifndef ELM_LIB_QUICKLAUNCH
 
 /* all tests prototypes */