Skip to content

Commit c23929f

Browse files
committed
Modifying feature detection macro.
1 parent 08108bf commit c23929f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fast_float/constexpr_feature_detect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#define FASTFLOAT_CONSTEXPR14
1515
#endif
1616

17-
#if __cplusplus >= 201703L
17+
#if __cplusplus >= 201703L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
1818
#define FASTFLOAT_IF_CONSTEXPR if constexpr
1919
#else
2020
#define FASTFLOAT_IF_CONSTEXPR if

0 commit comments

Comments
 (0)