psl.c: Do not define _GNU_SOURCE

This commit is contained in:
Giuseppe Scrivano 2015-02-28 18:36:24 +01:00
parent 1030a438c9
commit 225c557e23
2 changed files with 1 additions and 6 deletions

View File

@ -22,7 +22,7 @@ endif
noinst_PROGRAMS = psl2c noinst_PROGRAMS = psl2c
psl2c_SOURCES = psl2c.c psl2c_SOURCES = psl2c.c
psl2c_CPPFLAGS = -I$(top_srcdir)/include -D _GNU_SOURCE psl2c_CPPFLAGS = -I$(top_srcdir)/include
if BUILTIN_GENERATOR_LIBICU if BUILTIN_GENERATOR_LIBICU
psl2c_LDADD = -licuuc psl2c_LDADD = -licuuc
endif endif

View File

@ -28,11 +28,6 @@
* *
*/ */
/* need _GNU_SOURCE for qsort_r() */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#if HAVE_CONFIG_H #if HAVE_CONFIG_H
# include <config.h> # include <config.h>
#endif #endif