From 7056b56b3ccc9cbde4ef8297b923919c49c7c242 Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Wed, 4 Jan 2017 16:09:09 -0600 Subject: Drop the use of the _BSD_SOURCE macro on GNU/Hurd X-Gentoo-Bug: 604666 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666 --- mk/os-GNU.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mk') diff --git a/mk/os-GNU.mk b/mk/os-GNU.mk index 1fbc1474..d5c4172f 100644 --- a/mk/os-GNU.mk +++ b/mk/os-GNU.mk @@ -11,5 +11,5 @@ SFX= .GNU.in PKG_PREFIX?= /usr -CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -DMAXPATHLEN=4096 -DPATH_MAX=4096 +CPPFLAGS+= -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -DMAXPATHLEN=4096 -DPATH_MAX=4096 LIBDL= -Wl,-Bdynamic -ldl -- cgit v1.2.3