set _POSIX_C_SOURCE in the Makefile, not the code
This commit is contained in:
parent
72eec58d9e
commit
2a7c36d9ac
1
Makefile
1
Makefile
|
@ -16,6 +16,7 @@ CXXFLAGS := -std=c++11 -O3 \
|
|||
-Wconversion \
|
||||
-Wunused-macros \
|
||||
-Wwrite-strings \
|
||||
-D_POSIX_C_SOURCE=200809L \
|
||||
-DTERMITE_VERSION=\"${VERSION}\" \
|
||||
${shell pkg-config --cflags ${GTK} ${VTE}} \
|
||||
${CXXFLAGS}
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#define _POSIX_C_SOURCE 200809L
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
|
Loading…
Reference in New Issue