diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2010-04-24 15:22:17 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2010-04-24 15:22:17 +0000 |
commit | 03bb3e863663a034434b000fbfce2de7e908ba24 (patch) | |
tree | 0527de17bf999b709511880217423cea13a2ad51 /gtk/gtk_gui.c | |
parent | fe151c135d3ffe3dff155d51f4f2680024ae8382 (diff) | |
download | netsurf-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 'gtk/gtk_gui.c')
-rw-r--r-- | gtk/gtk_gui.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtk_gui.c b/gtk/gtk_gui.c index 8f5ccf3f9..3a749c67e 100644 --- a/gtk/gtk_gui.c +++ b/gtk/gtk_gui.c @@ -23,7 +23,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#define _GNU_SOURCE /* for strndup */ #include <assert.h> #include <stdbool.h> #include <stdio.h> |