Instead use AC_GNU_SOURCE macro in configure.ac
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@53157
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_ISC_POSIX
+AC_GNU_SOURCE
AM_INIT_AUTOMAKE([1.6 dist-bzip2])
AM_CONFIG_HEADER([config.h])
# include <sys/param.h>
# include <sys/sysctl.h>
# elif defined (__linux__) || defined(__GLIBC__)
-# define _GNU_SOURCE
# include <sched.h>
# endif
# ifdef EFL_HAVE_POSIX_THREADS
# include "config.h"
#endif
-#ifndef _WIN32
-# define _GNU_SOURCE
-#endif
-
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# include "config.h"
#endif
-#ifdef HAVE_DLADDR
-# define _GNU_SOURCE
-#endif
-
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# include "config.h"
#endif
-#define _GNU_SOURCE
-
#include <stdio.h>
#include <string.h>
# include "config.h"
#endif
-#define _GNU_SOURCE
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
# include "config.h"
#endif
-#define _GNU_SOURCE
-
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__