From 2a7c36d9ac9c73e4e5ac70ead2e2efa3d1bffb27 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 27 Aug 2012 01:22:39 -0400 Subject: [PATCH] set _POSIX_C_SOURCE in the Makefile, not the code --- Makefile | 1 + termite.cc | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7b6f2ab..43fcfd4 100644 --- a/Makefile +++ b/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} diff --git a/termite.cc b/termite.cc index 03a803d..7df3752 100644 --- a/termite.cc +++ b/termite.cc @@ -1,5 +1,3 @@ -#define _POSIX_C_SOURCE 200809L - #include #include #include