Патч для GCC < 4.8

This commit is contained in:
Andrei Astafev 2019-10-05 13:38:11 +03:00
parent 093a2efc08
commit 08c6afcba2

View File

@ -18,6 +18,13 @@ typedef WHEREAMI_STRING_T whereami_string_t;
#define WHEREAMI_CXX11 #define WHEREAMI_CXX11
#endif #endif
#if defined(__GNUC__)
# if !((__GNUC__ * 100 + __GNUC_MINOR__) < 408)
#undef WHEREAMI_CXX11
# endif
#endif
namespace whereami { namespace whereami {
class whereami_path_t class whereami_path_t