summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorEduardo de Barros Lima <eblima@gmail.com>2010-10-07 21:34:43 +0000
committerEduardo de Barros Lima <eblima@gmail.com>2010-10-07 21:34:43 +0000
commit15d98ebdff57aeaec218dc9956e7dfa767a80edc (patch)
tree275c4fbcad7ddd24ba10592b33b8a73a9a939626 /legacy
parent93df5252df2899572c5dad4f821ce711b0d9ff10 (diff)
Elementary: Don't #define _GNU_SOURCE
Use proper AC_GNU_SOURCE macro in configure.ac instead. SVN revision: 53168
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/configure.ac2
-rw-r--r--legacy/elementary/src/lib/elm_main.c4
-rw-r--r--legacy/elementary/src/lib/elm_module.c4
3 files changed, 2 insertions, 8 deletions
diff --git a/legacy/elementary/configure.ac b/legacy/elementary/configure.ac
index a080dfda6a..dcbee56193 100644
--- a/legacy/elementary/configure.ac
+++ b/legacy/elementary/configure.ac
@@ -30,6 +30,8 @@ AM_INIT_AUTOMAKE([1.6 dist-bzip2])
30AM_CONFIG_HEADER([elementary_config.h]) 30AM_CONFIG_HEADER([elementary_config.h])
31m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) 31m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
32 32
33AC_GNU_SOURCE
34
33AC_C_BIGENDIAN 35AC_C_BIGENDIAN
34AC_ISC_POSIX 36AC_ISC_POSIX
35AC_PROG_CC 37AC_PROG_CC
diff --git a/legacy/elementary/src/lib/elm_main.c b/legacy/elementary/src/lib/elm_main.c
index 0c8e665c23..4bad5a4df2 100644
--- a/legacy/elementary/src/lib/elm_main.c
+++ b/legacy/elementary/src/lib/elm_main.c
@@ -2,10 +2,6 @@
2# include "elementary_config.h" 2# include "elementary_config.h"
3#endif 3#endif
4 4
5#ifndef _GNU_SOURCE
6# define _GNU_SOURCE
7#endif
8
9#include <dlfcn.h> /* dlopen,dlclose,etc */ 5#include <dlfcn.h> /* dlopen,dlclose,etc */
10 6
11#ifdef HAVE_CRT_EXTERNS_H 7#ifdef HAVE_CRT_EXTERNS_H
diff --git a/legacy/elementary/src/lib/elm_module.c b/legacy/elementary/src/lib/elm_module.c
index 282b66a93b..b07a8d4b02 100644
--- a/legacy/elementary/src/lib/elm_module.c
+++ b/legacy/elementary/src/lib/elm_module.c
@@ -25,10 +25,6 @@
25 * creation/deletion of the entry as well as replace the longpress behavior. 25 * creation/deletion of the entry as well as replace the longpress behavior.
26 */ 26 */
27 27
28#ifndef _GNU_SOURCE
29# define _GNU_SOURCE
30#endif
31
32#ifdef HAVE_CONFIG_H 28#ifdef HAVE_CONFIG_H
33# include "elementary_config.h" 29# include "elementary_config.h"
34#endif 30#endif