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 --- utils/url.c | 1 - 1 file changed, 1 deletion(-) (limited to 'utils/url.c') diff --git a/utils/url.c b/utils/url.c index b02d77756..5cb7305e8 100644 --- a/utils/url.c +++ b/utils/url.c @@ -22,7 +22,6 @@ * URL parsing and joining (implementation). */ -#define _GNU_SOURCE /* for strdup() */ #include #include #include -- cgit v1.2.3