summaryrefslogtreecommitdiff
path: root/utils/utf8.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2010-04-24 15:22:17 +0000
committerVincent Sanders <vince@netsurf-browser.org>2010-04-24 15:22:17 +0000
commit03bb3e863663a034434b000fbfce2de7e908ba24 (patch)
tree0527de17bf999b709511880217423cea13a2ad51 /utils/utf8.c
parentfe151c135d3ffe3dff155d51f4f2680024ae8382 (diff)
downloadnetsurf-03bb3e863663a034434b000fbfce2de7e908ba24.tar.gz
netsurf-03bb3e863663a034434b000fbfce2de7e908ba24.tar.bz2
remove _GNU_SOURCE define from everywhere.
strndup is not standard so provide an implementation. svn path=/trunk/netsurf/; revision=10474
Diffstat (limited to 'utils/utf8.c')
-rw-r--r--utils/utf8.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/utils/utf8.c b/utils/utf8.c
index f866562e1..d7fef5e7a 100644
--- a/utils/utf8.c
+++ b/utils/utf8.c
@@ -20,7 +20,6 @@
* UTF-8 manipulation functions (implementation).
*/
-#define _GNU_SOURCE /* for strndup */
#include <assert.h>
#include <errno.h>
#include <stdlib.h>