From: Phil Burk Date: Sat, 17 Mar 2018 19:36:14 +0000 (-0700) Subject: Merge pull request #41 from letoh/fix-linux-build-2 X-Git-Url: http://git.subgeniuskitty.com/pforth/.git/commitdiff_plain/b3e677ec7edae9f748fca2e2d210543f18a85673?hp=f1994bf609c5b053c5c0d7db2062b570fa9f5ead Merge pull request #41 from letoh/fix-linux-build-2 Fixes #40: add _DEFAULT_SOURCE back for Linux build --- diff --git a/build/unix/Makefile b/build/unix/Makefile index 3e9f3e7..e80b56d 100644 --- a/build/unix/Makefile +++ b/build/unix/Makefile @@ -58,7 +58,7 @@ PFSOURCE = $(PFBASESOURCE) $(IO_SOURCE) VPATH = .:$(CSRCDIR):$(CSRCDIR)/posix:$(CSRCDIR)/stdio:$(CSRCDIR)/win32_console:$(CSRCDIR)/win32 XCFLAGS = $(CCOPTS) -XCPPFLAGS = -DPF_SUPPORT_FP -D_GNU_SOURCE +XCPPFLAGS = -DPF_SUPPORT_FP -D_DEFAULT_SOURCE -D_GNU_SOURCE XLDFLAGS = $(WIDTHOPT) CPPFLAGS = -I. $(XCPPFLAGS)