Fix a -Wundef when FMT_GCC_VERSION < 600
This commit is contained in:
parent
7d3de49715
commit
a4e4f74530
@ -116,7 +116,8 @@
|
||||
#endif
|
||||
|
||||
#if FMT_USE_USER_DEFINED_LITERALS && \
|
||||
(FMT_GCC_VERSION >= 600 || FMT_CLANG_VERSION >= 304)
|
||||
(FMT_GCC_VERSION >= 600 || \
|
||||
(defined(FMT_CLANG_VERSION) && FMT_CLANG_VERSION >= 304))
|
||||
# define FMT_UDL_TEMPLATE 1
|
||||
#else
|
||||
# define FMT_UDL_TEMPLATE 0
|
||||
|
Loading…
Reference in New Issue
Block a user