From 51f1a2216a2af0133f56d468cb20815b4cdb480b Mon Sep 17 00:00:00 2001 From: letoh Date: Wed, 15 Jul 2015 13:07:17 +0800 Subject: [PATCH] use _GNU_SOURCE instead of _DEFAULT_SOURCE for older glibc --- build/unix/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/unix/Makefile b/build/unix/Makefile index c1df0d0..d7ca532 100644 --- a/build/unix/Makefile +++ b/build/unix/Makefile @@ -59,7 +59,7 @@ PFSOURCE = $(PFBASESOURCE) $(IO_SOURCE) VPATH = .:$(CSRCDIR):$(CSRCDIR)/posix:$(CSRCDIR)/stdio:$(CSRCDIR)/win32_console:$(CSRCDIR)/win32 XCFLAGS = $(CCOPTS) -XCPPFLAGS = -DPF_SUPPORT_FP -D_DEFAULT_SOURCE +XCPPFLAGS = -DPF_SUPPORT_FP -D_GNU_SOURCE XLDFLAGS = $(WIDTHOPT) CPPFLAGS = -I. $(XCPPFLAGS) -- 2.20.1