diff --git a/include/fmt/core.h b/include/fmt/core.h index 8580cc93..66597eed 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -134,7 +134,8 @@ #endif #ifndef FMT_BEGIN_NAMESPACE -# if FMT_HAS_FEATURE(cxx_inline_namespaces) || FMT_MSC_VER >= 1900 +# if FMT_HAS_FEATURE(cxx_inline_namespaces) || FMT_GCC_VERSION >= 404 || \ + FMT_MSC_VER >= 1900 # define FMT_INLINE_NAMESPACE inline namespace # define FMT_END_NAMESPACE }} # else