diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-07-08 21:52:13 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-07-09 15:07:13 +0000 |
commit | b350726a5a3b6f9177aa01ec0cbde85c2ac5c5fc (patch) | |
tree | d767ef0234aa9fc2fc2668526278fbdf3d4a80f4 /external/boost/archive/portable_binary_iarchive.hpp | |
parent | Merge pull request #5663 (diff) | |
download | monero-b350726a5a3b6f9177aa01ec0cbde85c2ac5c5fc.tar.xz |
boost: update obsolete usage of endian API
Diffstat (limited to 'external/boost/archive/portable_binary_iarchive.hpp')
-rw-r--r-- | external/boost/archive/portable_binary_iarchive.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/external/boost/archive/portable_binary_iarchive.hpp b/external/boost/archive/portable_binary_iarchive.hpp index 7792b530d..bd19599f3 100644 --- a/external/boost/archive/portable_binary_iarchive.hpp +++ b/external/boost/archive/portable_binary_iarchive.hpp @@ -226,7 +226,7 @@ public: #include <istream>
#include <string>
-#include <boost/detail/endian.hpp>
+#include <boost/predef/other/endian.h>
#include <boost/serialization/throw_exception.hpp>
#include <boost/archive/archive_exception.hpp>
@@ -252,12 +252,12 @@ portable_binary_iarchive::load_impl(boost::intmax_t & l, char maxsize){ );
char * cptr = reinterpret_cast<char *>(& l);
- #ifdef BOOST_BIG_ENDIAN
+ #if BOOST_ENDIAN_BIG_BYTE
cptr += (sizeof(boost::intmax_t) - size);
#endif
this->primitive_base_t::load_binary(cptr, size);
- #ifdef BOOST_BIG_ENDIAN
+ #if BOOST_ENDIAN_BIG_BYTE
if(m_flags & endian_little)
#else
if(m_flags & endian_big)
|