From b626b46a51cf40fc91583da63084ef40efebc85e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 6 Jan 2017 19:01:02 -0500 Subject: Don't set _POSIX_C_SOURCE The BSD behaviour is to hide all BSD extensions if standard-conformance feature test macros are present. We don't want strict POSIX, we want all available extensions, so ask for that. --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b8d2b5b..3962b97 100644 --- a/Makefile +++ b/Makefile @@ -26,14 +26,13 @@ DESTDIR ?= PREFIX ?= /usr LOCAL_CPPFLAGS := \ - -D_POSIX_C_SOURCE=200809L \ - -D_DEFAULT_SOURCE \ - -D_BSD_SOURCE \ - -D_GNU_SOURCE \ - -D_ATFILE_SOURCE \ -D__EXTENSIONS__ \ + -D_ATFILE_SOURCE \ + -D_BSD_SOURCE \ -D_DARWIN_C_SOURCE \ + -D_DEFAULT_SOURCE \ -D_FILE_OFFSET_BITS=64 \ + -D_GNU_SOURCE \ -DBFS_VERSION=\"$(VERSION)\" LOCAL_CFLAGS := -std=c99 -- cgit v1.2.3