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:
parent
4066de04a1
commit
50970e3d54
1 changed files with 7 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue