Skip to content

Commit 8c80594

Browse files
committed
Disable header on embedded platforms
1 parent cdac1a7 commit 8c80594

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/boost/decimal/detail/from_string.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
#define BOOST_DECIMAL_DETAIL_FROM_STRING_HPP
77

88
#include <boost/decimal/detail/config.hpp>
9+
10+
#if !defined(BOOST_DECIMAL_DISABLE_CLIB)
11+
912
#include <boost/decimal/detail/concepts.hpp>
1013
#include <boost/decimal/detail/chars_format.hpp>
1114
#include <boost/decimal/detail/from_chars_result.hpp>
@@ -41,4 +44,6 @@ constexpr auto construct_from_string(const char* str, const std::size_t len) ->
4144
} // namespace decimal
4245
} // namespace boost
4346

47+
#endif // BOOST_DECIMAL_DISABLE_CLIB
48+
4449
#endif // BOOST_DECIMAL_DETAIL_FROM_STRING_HPP

0 commit comments

Comments
 (0)