Eina: Don't #define _GNU_SOURCE

Instead use AC_GNU_SOURCE macro in configure.ac



SVN revision: 53157
This commit is contained in:
Eduardo de Barros Lima 2010-10-07 19:29:32 +00:00
parent 57af528062
commit a5a3fc18e5
7 changed files with 1 additions and 15 deletions

View File

@ -25,6 +25,7 @@ AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_ISC_POSIX
AC_GNU_SOURCE
AM_INIT_AUTOMAKE([1.6 dist-bzip2])
AM_CONFIG_HEADER([config.h])

View File

@ -33,7 +33,6 @@
# 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

View File

@ -20,10 +20,6 @@
# include "config.h"
#endif
#ifndef _WIN32
# define _GNU_SOURCE
#endif
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__

View File

@ -20,10 +20,6 @@
# include "config.h"
#endif
#ifdef HAVE_DLADDR
# define _GNU_SOURCE
#endif
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__

View File

@ -2,8 +2,6 @@
# include "config.h"
#endif
#define _GNU_SOURCE
#include <stdio.h>
#include <string.h>

View File

@ -2,8 +2,6 @@
# include "config.h"
#endif
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -33,8 +33,6 @@
# include "config.h"
#endif
#define _GNU_SOURCE
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__