set _POSIX_C_SOURCE in the Makefile, not the code

This commit is contained in:
Daniel Micay 2012-08-27 01:22:39 -04:00
parent 72eec58d9e
commit 2a7c36d9ac
2 changed files with 1 additions and 2 deletions

View File

@ -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}

View File

@ -1,5 +1,3 @@
#define _POSIX_C_SOURCE 200809L
#include <algorithm>
#include <cstdlib>
#include <cstring>