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 \
|
-Wconversion \
|
||||||
-Wunused-macros \
|
-Wunused-macros \
|
||||||
-Wwrite-strings \
|
-Wwrite-strings \
|
||||||
|
-D_POSIX_C_SOURCE=200809L \
|
||||||
-DTERMITE_VERSION=\"${VERSION}\" \
|
-DTERMITE_VERSION=\"${VERSION}\" \
|
||||||
${shell pkg-config --cflags ${GTK} ${VTE}} \
|
${shell pkg-config --cflags ${GTK} ${VTE}} \
|
||||||
${CXXFLAGS}
|
${CXXFLAGS}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#define _POSIX_C_SOURCE 200809L
|
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
Loading…
Reference in New Issue