From 08c6afcba26b59a25698c5e69f23bbfe86ce0146 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 5 Oct 2019 13:38:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B0=D1=82=D1=87=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20GCC=20<=204.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/whereami++.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/whereami++.h b/src/whereami++.h index 928a19b..7046787 100644 --- a/src/whereami++.h +++ b/src/whereami++.h @@ -18,6 +18,13 @@ typedef WHEREAMI_STRING_T whereami_string_t; #define WHEREAMI_CXX11 #endif +#if defined(__GNUC__) +# if !((__GNUC__ * 100 + __GNUC_MINOR__) < 408) + #undef WHEREAMI_CXX11 +# endif +#endif + + namespace whereami { class whereami_path_t