Elementary: Don't #define _GNU_SOURCE

Use proper AC_GNU_SOURCE macro in configure.ac instead.



SVN revision: 53168
This commit is contained in:
Eduardo de Barros Lima 2010-10-07 21:34:43 +00:00
parent 93df5252df
commit 15d98ebdff
3 changed files with 2 additions and 8 deletions

View File

@ -30,6 +30,8 @@ AM_INIT_AUTOMAKE([1.6 dist-bzip2])
AM_CONFIG_HEADER([elementary_config.h])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_GNU_SOURCE
AC_C_BIGENDIAN
AC_ISC_POSIX
AC_PROG_CC

View File

@ -2,10 +2,6 @@
# include "elementary_config.h"
#endif
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#include <dlfcn.h> /* dlopen,dlclose,etc */
#ifdef HAVE_CRT_EXTERNS_H

View File

@ -25,10 +25,6 @@
* creation/deletion of the entry as well as replace the longpress behavior.
*/
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#endif