File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
include/boost/decimal/detail Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -325,9 +325,15 @@ typedef unsigned __int128 uint128_t;
325325# endif
326326#endif
327327
328+ // Since we should not be able to pull these in from the STL in module mode define them ourselves
329+ // This is also low risk since they are not supposed to be exported
328330#ifdef BOOST_DECIMAL_BUILD_MODULE
329- # define UINT64_C (x ) (x ## ULL)
330- # define UINT32_C (x ) (x ## UL)
331+ # ifndef UINT64_C
332+ # define UINT64_C (x ) (x ## ULL)
333+ # endif
334+ # ifndef UINT32_C
335+ # define UINT32_C (x ) (x ## UL)
336+ # endif
331337#endif
332338
333339#endif // BOOST_DECIMAL_DETAIL_CONFIG_HPP
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ module;
2929#include < system_error>
3030#include < complex>
3131#include < compare>
32+ #include < charconv>
3233
3334// <stdfloat> is a C++23 feature that is not everywhere yet
3435#if __has_include(<stdfloat>)
You can’t perform that action at this time.
0 commit comments