summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2018-09-06 11:33:02 +0100
committerVincent Sanders <vince@kyllikki.org>2018-09-06 11:33:02 +0100
commit6ce6b62099458c10eab762777e5d812c895df5d4 (patch)
tree2018c5d7fe0a61dc0e5870f766927486c796039e /frontends
parent39176736b3b67d7ff528500f5e61b9f62c1f3190 (diff)
downloadnetsurf-6ce6b62099458c10eab762777e5d812c895df5d4.tar.gz
netsurf-6ce6b62099458c10eab762777e5d812c895df5d4.tar.bz2
stop defining _XOPEN_SOURCE
This is necessary with some libc as it overrides _POSIX_C_SOURCE and removes definitions of scandir etc.
Diffstat (limited to 'frontends')
-rw-r--r--frontends/framebuffer/Makefile1
-rw-r--r--frontends/gtk/Makefile1
-rw-r--r--frontends/monkey/Makefile1
3 files changed, 0 insertions, 3 deletions
diff --git a/frontends/framebuffer/Makefile b/frontends/framebuffer/Makefile
index bdedd903b..9b03a111b 100644
--- a/frontends/framebuffer/Makefile
+++ b/frontends/framebuffer/Makefile
@@ -23,7 +23,6 @@ CFLAGS += '-DNETSURF_FB_FONT_FANTASY="$(NETSURF_FB_FONT_FANTASY)"'
CFLAGS += -std=c99 -g -Dsmall \
-D_BSD_SOURCE \
-D_DEFAULT_SOURCE \
- -D_XOPEN_SOURCE=600 \
-D_POSIX_C_SOURCE=200809L
LDFLAGS += -lm
diff --git a/frontends/gtk/Makefile b/frontends/gtk/Makefile
index ec60ce70c..c19720f94 100644
--- a/frontends/gtk/Makefile
+++ b/frontends/gtk/Makefile
@@ -37,7 +37,6 @@ GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk -g \
$(GTKDEPFLAGS) \
-D_BSD_SOURCE \
-D_DEFAULT_SOURCE \
- -D_XOPEN_SOURCE=600 \
-D_POSIX_C_SOURCE=200809L \
-D_NETBSD_SOURCE \
-DGTK_RESPATH=\"$(NETSURF_GTK_RES_PATH)\"
diff --git a/frontends/monkey/Makefile b/frontends/monkey/Makefile
index 86f1d912e..6604a88a5 100644
--- a/frontends/monkey/Makefile
+++ b/frontends/monkey/Makefile
@@ -12,7 +12,6 @@ CWARNFLAGS += -Werror
CFLAGS += -std=c99 -Dmonkey -Dnsmonkey -g \
-D_BSD_SOURCE \
-D_DEFAULT_SOURCE \
- -D_XOPEN_SOURCE=700 \
-D_POSIX_C_SOURCE=200809L \
-D_NETBSD_SOURCE \
-DMONKEY_RESPATH=\"$(NETSURF_MONKEY_RESOURCES)\"