Skip to content

Commit 717d4d0

Browse files
committed
Fix module build with {fmt} module
1 parent 53f2d91 commit 717d4d0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/boost/decimal/fmt_format.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,18 @@
2525
#include <boost/decimal/detail/config.hpp>
2626
#include <boost/decimal/detail/locale_conversion.hpp>
2727
#include <boost/decimal/charconv.hpp>
28+
29+
#ifndef BOOST_DECIMAL_BUILD_MODULE
30+
2831
#include <algorithm>
2932
#include <format>
3033
#include <iostream>
3134
#include <string>
3235
#include <tuple>
3336
#include <cctype>
3437

38+
#endif // BOOST_DECIMAL_BUILD_MODULE
39+
3540
namespace boost {
3641
namespace decimal {
3742
namespace detail {

0 commit comments

Comments
 (0)