Skip to content

Commit 0625608

Browse files
committed
Update boost config.
1 parent def1dee commit 0625608

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

include/bitcoin/database/boost.hpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,16 @@
1919
#ifndef LIBBITCOIN_DATABASE_BOOST_HPP
2020
#define LIBBITCOIN_DATABASE_BOOST_HPP
2121

22-
#if defined(HAVE_MSC)
23-
#include <windows.h>
24-
#endif
22+
// Must pull in any base boost configuration before including boost.
23+
#include <bitcoin/system.hpp>
24+
2525
#include <filesystem>
2626
#include <boost/interprocess/detail/os_file_functions.hpp>
2727
#include <boost/multi_index_container.hpp>
2828
#include <boost/multi_index/hashed_index.hpp>
2929
#include <boost/multi_index/key.hpp>
3030
#include <boost/multi_index/key_extractors.hpp>
3131
#include <boost/multi_index/ordered_index.hpp>
32-
#include <bitcoin/system.hpp>
3332

3433
namespace libbitcoin {
3534
namespace database {

0 commit comments

Comments
 (0)