forked from enlightenment/efl
Eina: Don't #define _GNU_SOURCE
Instead use AC_GNU_SOURCE macro in configure.ac SVN revision: 53157
This commit is contained in:
parent
57af528062
commit
a5a3fc18e5
|
@ -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])
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -20,10 +20,6 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32
|
||||
# define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
# include <alloca.h>
|
||||
#elif defined __GNUC__
|
||||
|
|
|
@ -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__
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -33,8 +33,6 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
# include <alloca.h>
|
||||
#elif defined __GNUC__
|
||||
|
|
Loading…
Reference in New Issue