commit 37639df8023db1f3fd8539b559a63c9351a1151c
parent b076890e222e4b0697b252a75ce455e62fd5e2d1
Author: Claudio Alessi <smoppy@gmail.com>
Date: Sat, 20 May 2017 15:25:52 +0200
Merge pull request #2 from paride/_DEFAULT_SOURCE
Fix compiler warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.mk b/config.mk
@@ -12,7 +12,7 @@ INCS =
LIBS =
# flags
-CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\"
+CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\"
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}