From 225c557e237d8fc61ffa873d62b82abe9d843b3a Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sat, 28 Feb 2015 18:36:24 +0100 Subject: [PATCH] psl.c: Do not define _GNU_SOURCE --- src/Makefile.am | 2 +- src/psl.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 412e26f..62cb87d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -22,7 +22,7 @@ endif noinst_PROGRAMS = psl2c psl2c_SOURCES = psl2c.c -psl2c_CPPFLAGS = -I$(top_srcdir)/include -D _GNU_SOURCE +psl2c_CPPFLAGS = -I$(top_srcdir)/include if BUILTIN_GENERATOR_LIBICU psl2c_LDADD = -licuuc endif diff --git a/src/psl.c b/src/psl.c index 6fe0633..5280ec6 100644 --- a/src/psl.c +++ b/src/psl.c @@ -28,11 +28,6 @@ * */ -/* need _GNU_SOURCE for qsort_r() */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE -#endif - #if HAVE_CONFIG_H # include #endif