commit 3cea0f946a43954ab74d56645ec80d52dde92d6e
parent 78fed9962a34c4f742543876354aad76598009f1
Author: Claudio Alessi <smoppy@gmail.com>
Date: Mon, 9 Jan 2017 17:10:17 +0100
Fix a deprecated constant.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.mk b/config.mk
@@ -12,7 +12,7 @@ INCS = `mysql_config --cflags`
LIBS = -lmysqlclient -lstfl -lncursesw
# flags
-CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\"
+CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\"
CFLAGS = -std=c99 -g -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
#CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}