Detect inline namespaces on gcc

This commit is contained in:
Victor Zverovich 2018-05-13 08:53:04 -07:00
parent dfb6546932
commit 989378930a

View File

@ -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