From 03bb3e863663a034434b000fbfce2de7e908ba24 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 24 Apr 2010 15:22:17 +0000 Subject: remove _GNU_SOURCE define from everywhere. strndup is not standard so provide an implementation. svn path=/trunk/netsurf/; revision=10474 --- riscos/query.c | 1 - riscos/ucstables.c | 1 - riscos/url_protocol.c | 1 - 3 files changed, 3 deletions(-) (limited to 'riscos') diff --git a/riscos/query.c b/riscos/query.c index 3cf18ac63..8a0087feb 100644 --- a/riscos/query.c +++ b/riscos/query.c @@ -16,7 +16,6 @@ * along with this program. If not, see . */ -#define _GNU_SOURCE /* for strnlen */ #include #include diff --git a/riscos/ucstables.c b/riscos/ucstables.c index 59ee8576a..9b259766c 100644 --- a/riscos/ucstables.c +++ b/riscos/ucstables.c @@ -20,7 +20,6 @@ * UCS conversion tables and RISC OS-specific UTF-8 text handling */ -#define _GNU_SOURCE /* for strndup */ #include #include #include diff --git a/riscos/url_protocol.c b/riscos/url_protocol.c index 8b06d6f75..7629fd3d3 100644 --- a/riscos/url_protocol.c +++ b/riscos/url_protocol.c @@ -26,7 +26,6 @@ #include "utils/config.h" -#define _GNU_SOURCE /* for strndup */ #include #include #include -- cgit v1.2.3