Commit 98937893 authored by Victor Zverovich's avatar Victor Zverovich

Detect inline namespaces on gcc

parent dfb65469
...@@ -134,7 +134,8 @@ ...@@ -134,7 +134,8 @@
#endif #endif
#ifndef FMT_BEGIN_NAMESPACE #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_INLINE_NAMESPACE inline namespace
# define FMT_END_NAMESPACE }} # define FMT_END_NAMESPACE }}
# else # else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment