aboutsummaryrefslogtreecommitdiff
path: root/external/boost/archive/portable_binary_oarchive.hpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-07-08 21:52:13 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-07-09 15:07:13 +0000
commitb350726a5a3b6f9177aa01ec0cbde85c2ac5c5fc (patch)
treed767ef0234aa9fc2fc2668526278fbdf3d4a80f4 /external/boost/archive/portable_binary_oarchive.hpp
parentMerge pull request #5663 (diff)
downloadmonero-b350726a5a3b6f9177aa01ec0cbde85c2ac5c5fc.tar.xz
boost: update obsolete usage of endian API
Diffstat (limited to 'external/boost/archive/portable_binary_oarchive.hpp')
-rw-r--r--external/boost/archive/portable_binary_oarchive.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/boost/archive/portable_binary_oarchive.hpp b/external/boost/archive/portable_binary_oarchive.hpp
index e2dcb9456..783c7f7c9 100644
--- a/external/boost/archive/portable_binary_oarchive.hpp
+++ b/external/boost/archive/portable_binary_oarchive.hpp
@@ -221,7 +221,7 @@ public:
// See http://www.boost.org for updates, documentation, and revision history.
#include <ostream>
-#include <boost/detail/endian.hpp>
+#include <boost/predef/other/endian.h>
namespace boost { namespace archive {
@@ -258,7 +258,7 @@ portable_binary_oarchive::save_impl(
else
ll = l;
char * cptr = reinterpret_cast<char *>(& ll);
- #ifdef BOOST_BIG_ENDIAN
+ #if BOOST_ENDIAN_BIG_BYTE
cptr += (sizeof(boost::intmax_t) - size);
if(m_flags & endian_little)
reverse_bytes(size, cptr);