mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
Modifying feature detection macro.
This commit is contained in:
parent
08108bff7b
commit
c23929fc66
@ -14,7 +14,7 @@
|
||||
#define FASTFLOAT_CONSTEXPR14
|
||||
#endif
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
#if __cplusplus >= 201703L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
|
||||
#define FASTFLOAT_IF_CONSTEXPR if constexpr
|
||||
#else
|
||||
#define FASTFLOAT_IF_CONSTEXPR if
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user