seems freebsd needs _XOPEN_SOURCE for math.h macros to be defined

This commit is contained in:
Vincent Sanders 2018-09-06 12:10:38 +01:00
parent 6ce6b62099
commit 2596331640

View File

@ -37,6 +37,7 @@ GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk -g \
$(GTKDEPFLAGS) \
-D_BSD_SOURCE \
-D_DEFAULT_SOURCE \
-D_XOPEN_SOURCE=700 \
-D_POSIX_C_SOURCE=200809L \
-D_NETBSD_SOURCE \
-DGTK_RESPATH=\"$(NETSURF_GTK_RES_PATH)\"