Skip to content

Commit

Permalink
Drop project-wide -D_XOPEN_SOURCE=700 after 63a20cf
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
jbeich committed Jun 19, 2022
1 parent bc50501 commit bb49007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit bb49007

Please sign in to comment.