summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2007-06-15 18:43:07 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2007-06-15 18:43:07 +0000
commit89a44d8bc36e064fb431dd4d85d8cdee6be1e686 (patch)
tree0eb98977f210e054324b88e4ed07c896cb0c9cc5 /makefile
parentb98b588ee5eb7614856ebbb63bee196bad3b42a5 (diff)
downloadnetsurf-89a44d8bc36e064fb431dd4d85d8cdee6be1e686.tar.gz
netsurf-89a44d8bc36e064fb431dd4d85d8cdee6be1e686.tar.bz2
FreeBSD portability fixes.
* Remove usage of d_ino from utils/filename.c (it was checking for the inode being 0, and I cannot spot anywhere in UnixLib where it would explicitly do this anyway) * Add -D_XOPEN_SOURCE=600 to gcc command line, and replace old -D_POSIX_C_SOURCE to include =200112L (as that's the standard we use). svn path=/trunk/netsurf/; revision=3347
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index 40d135439..0b4165c79 100644
--- a/makefile
+++ b/makefile
@@ -129,9 +129,9 @@ CFLAGS_NCOS = $(CFLAGS_RISCOS) -Dncos
CFLAGS_DEBUG = -std=c99 -D_BSD_SOURCE -DDEBUG_BUILD $(WARNFLAGS) -I. \
$(PLATFORM_CFLAGS_DEBUG) -g
CFLAGS_GTK = -std=c99 -Dgtk -Dnsgtk \
- -D_BSD_SOURCE \
-DGTK_DISABLE_DEPRECATED \
- -D_POSIX_C_SOURCE \
+ -D_XOPEN_SOURCE=600 \
+ -D_POSIX_C_SOURCE=200112L \
$(WARNFLAGS) -I. -g -O0 -Wformat=2 \
`pkg-config --cflags libglade-2.0 gtk+-2.0` `xml2-config --cflags`