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