forked from enlightenment/efl
Elementary: Don't #define _GNU_SOURCE
Use proper AC_GNU_SOURCE macro in configure.ac instead. SVN revision: 53168
This commit is contained in:
parent
93df5252df
commit
15d98ebdff
|
@ -30,6 +30,8 @@ AM_INIT_AUTOMAKE([1.6 dist-bzip2])
|
||||||
AM_CONFIG_HEADER([elementary_config.h])
|
AM_CONFIG_HEADER([elementary_config.h])
|
||||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||||
|
|
||||||
|
AC_GNU_SOURCE
|
||||||
|
|
||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
AC_ISC_POSIX
|
AC_ISC_POSIX
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
|
|
@ -2,10 +2,6 @@
|
||||||
# include "elementary_config.h"
|
# include "elementary_config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _GNU_SOURCE
|
|
||||||
# define _GNU_SOURCE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <dlfcn.h> /* dlopen,dlclose,etc */
|
#include <dlfcn.h> /* dlopen,dlclose,etc */
|
||||||
|
|
||||||
#ifdef HAVE_CRT_EXTERNS_H
|
#ifdef HAVE_CRT_EXTERNS_H
|
||||||
|
|
|
@ -25,10 +25,6 @@
|
||||||
* creation/deletion of the entry as well as replace the longpress behavior.
|
* creation/deletion of the entry as well as replace the longpress behavior.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _GNU_SOURCE
|
|
||||||
# define _GNU_SOURCE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include "elementary_config.h"
|
# include "elementary_config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue