Skip to content

Commit

Permalink
Modifying feature detection macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
RealTimeChris committed Nov 26, 2024
1 parent 08108bf commit c23929f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fast_float/constexpr_feature_detect.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c23929f

Please sign in to comment.