1
0
Fork 0
forked from lthn/blockchain

removed that crazy annoying Boost warning (a bug in Boost 1.70, already fixed)

"The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated."
This commit is contained in:
sowle 2022-05-10 18:48:18 +02:00
parent 4066de04a1
commit 50970e3d54
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -88,6 +88,13 @@
// basic headers
#include <boost/version.hpp>
// The following four lines disable annoying message in Boost 1.70 (The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated.)
#if BOOST_VERSION == 107000
# define BOOST_PREDEF_DETAIL_ENDIAN_COMPAT_H
# include <boost/predef/other/endian.h>
#endif
#include <boost/utility/enable_if.hpp>
#include <boost/archive/basic_binary_iprimitive.hpp>
#include <boost/archive/basic_binary_iarchive.hpp>