From bb49007fb0744e1f461dd2f07242d5bb33b6d80e Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sun, 19 Jun 2022 00:22:27 +0000 Subject: [PATCH] Drop project-wide -D_XOPEN_SOURCE=700 after 63a20cfd62e6 - usleep was removed in POSIX.1-2008 (X/Open Issue 7) - DT_DIR and flock are BSD extensions but BSDs don't use _DEFAULT_SOURCE - _DEFAULT_SOURCE in GNU exposes POSIX.1-2008 + BSD + SysV mix --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cbbc051..dd7c31c 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ CFLAGS:=-DVERSION=\"v$(VERSION)\ \($(COMMIT)\)\" \ -Wno-unused \ -std=c11 \ -D_DEFAULT_SOURCE \ - -D_XOPEN_SOURCE=700 $(CFLAGS) + $(CFLAGS) platform=$(shell uname -s)