config.mk: use -D_DEFAULT_SOURCE for CPPFLAGS - tscrape - twitter scraper
HTML git clone git://git.codemadness.org/tscrape
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 2551c88ec78e2aadd609fefdec129026ef2f704d
DIR parent 144334ccda681fa236d14bbfd602cd939a7ee86b
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 8 Oct 2016 11:12:38 +0200
config.mk: use -D_DEFAULT_SOURCE for CPPFLAGS
"These CPPFLAGS are in UNACCEPTABLE CONDITIONNNNN" - quinq, 2016
https://www.youtube.com/watch?v=VxFkMFS0mFA
Diffstat:
M config.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/config.mk b/config.mk
@@ -21,7 +21,7 @@ LDFLAGS = -s
#CFLAGS = -static -O2 -std=c99
#LDFLAGS = -static -s
-CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
+CPPFLAGS = -D_DEFAULT_SOURCE
# OpenBSD 5.9+: use pledge(2)
#CPPFLAGS += -DUSE_PLEDGE