mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-29 21:31:05 +00:00
Detect inline namespaces on gcc
This commit is contained in:
parent
dfb6546932
commit
989378930a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user