Skip to content

Commit 8fc1ee0

Browse files
committed
1 parent 8a4c6b6 commit 8fc1ee0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/from_chars.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ boost::charconv::from_chars_result boost::charconv::from_chars_erange(const char
229229
return r;
230230
}
231231

232-
#elif !defined(BOOST_CHARCONV_UNSUPPORTED_LONG_DOUBLE)
232+
#elif !defined(BOOST_CHARCONV_UNSUPPORTED_LONG_DOUBLE) && !defined(BOOST_CHARCONV_LDBL_IS_FLOAT128)
233233

234234
boost::charconv::from_chars_result boost::charconv::from_chars_erange(const char* first, const char* last, long double& value, boost::charconv::chars_format fmt) noexcept
235235
{

src/to_chars.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ boost::charconv::to_chars_result boost::charconv::to_chars(char* first, char* la
602602
return boost::charconv::detail::to_chars_float_impl(first, last, static_cast<double>(value), fmt, precision);
603603
}
604604

605-
#elif !defined(BOOST_CHARCONV_UNSUPPORTED_LONG_DOUBLE)
605+
#elif !defined(BOOST_CHARCONV_UNSUPPORTED_LONG_DOUBLE) && !defined(BOOST_CHARCONV_LDBL_IS_FLOAT128)
606606

607607
boost::charconv::to_chars_result boost::charconv::to_chars(char* first, char* last, long double value,
608608
boost::charconv::chars_format fmt) noexcept

0 commit comments

Comments
 (0)