mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
Fix a -Wundef when FMT_GCC_VERSION < 600
This commit is contained in:
parent
7d3de49715
commit
a4e4f74530
@ -116,7 +116,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if FMT_USE_USER_DEFINED_LITERALS && \
|
#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
|
# define FMT_UDL_TEMPLATE 1
|
||||||
#else
|
#else
|
||||||
# define FMT_UDL_TEMPLATE 0
|
# define FMT_UDL_TEMPLATE 0
|
||||||
|
Loading…
Reference in New Issue
Block a user