Skip to content

Commit

Permalink
Merge pull request #109 from cppalliance/msvc
Browse files Browse the repository at this point in the history
Fix <stdfloat> testing macro
  • Loading branch information
mborland authored Dec 11, 2023
2 parents 03b0011 + fd11d51 commit 1927ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/charconv/detail/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ static_assert((BOOST_CHARCONV_ENDIAN_BIG_BYTE || BOOST_CHARCONV_ENDIAN_LITTLE_BY

// Detection for C++23 fixed width floating point types
// All of these types are optional so check for each of them individually
#ifdef __has_include
#if (defined(_MSVC_LANG) && _MSVC_LANG > 202002L) || __cplusplus > 202002L
# if __has_include(<stdfloat>)
# include <stdfloat>
# endif
Expand Down

0 comments on commit 1927ac9

Please sign in to comment.