mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 21:16:56 +00:00
Reorder defines
This commit is contained in:
parent
58b6f8db48
commit
4a059914a9
@ -144,6 +144,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FMT_BEGIN_NAMESPACE
|
#ifndef FMT_BEGIN_NAMESPACE
|
||||||
|
# define FMT_BEGIN_NAMESPACE \
|
||||||
|
namespace fmt { \
|
||||||
|
FMT_INLINE_NAMESPACE v5 {
|
||||||
# if FMT_HAS_FEATURE(cxx_inline_namespaces) || FMT_GCC_VERSION >= 404 || \
|
# if FMT_HAS_FEATURE(cxx_inline_namespaces) || FMT_GCC_VERSION >= 404 || \
|
||||||
FMT_MSC_VER >= 1900
|
FMT_MSC_VER >= 1900
|
||||||
# define FMT_INLINE_NAMESPACE inline namespace
|
# define FMT_INLINE_NAMESPACE inline namespace
|
||||||
@ -157,9 +160,6 @@
|
|||||||
using namespace v5; \
|
using namespace v5; \
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
# define FMT_BEGIN_NAMESPACE \
|
|
||||||
namespace fmt { \
|
|
||||||
FMT_INLINE_NAMESPACE v5 {
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(FMT_HEADER_ONLY) && defined(_WIN32)
|
#if !defined(FMT_HEADER_ONLY) && defined(_WIN32)
|
||||||
|
Loading…
Reference in New Issue
Block a user