stagit

No need for -D_POSIX_C_SOURCE=200809L

XOPEN is a superset.

sin contact@arjunchoudhary.com

commit: 863d212 parent: 94fea22
1 files changed, 3 insertions(+), 3 deletions(-)
Mconfig.mk+3-3
M · config.mk +3, -3
 1@@ -13,17 +13,17 @@ LIBS = -L${GITLIB} -lgit2 -lc
 2 
 3 # debug
 4 CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic \
 5-	-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
 6+	-D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
 7 LDFLAGS = ${LIBS}
 8 
 9 # optimized
10 #CFLAGS = -O2 -std=c99 \
11-#	-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
12+#	-D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
13 #LDFLAGS = -s ${LIBS}
14 
15 # optimized static
16 #CFLAGS = -static -O2 -std=c99 \
17-#	-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
18+#	-D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
19 #LDFLAGS = -static -s ${LIBS}
20 
21 # compiler and linker