From 56cdbcd1da89ef875b4c56a0d55326c6fbcc86e9 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Mon, 3 Nov 2014 17:37:04 -0500 Subject: [PATCH] more gcc put_time debugging --- websocketpp/common/cpp11.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/websocketpp/common/cpp11.hpp b/websocketpp/common/cpp11.hpp index a45103d00e..c317e9a40c 100644 --- a/websocketpp/common/cpp11.hpp +++ b/websocketpp/common/cpp11.hpp @@ -76,10 +76,9 @@ #define _WEBSOCKETPP_NULLPTR_TOKEN_ nullptr #endif - #ifndef _WEBSOCKETPP_CPP11_STL_ - // a few extra things that real/full C++11 compilers have but the - // *almost* c++11 compilers like GCC 4.7/4.8 that otherwise work with - // _WEBSOCKETPP_CPP11_STL_ lack. + #ifndef __GNUC__ + // GCC as of version 4.9 (latest) does not support std::put_time yet. + // so ignore it #define _WEBSOCKETPP_PUTTIME_ #endif #else