diff --git a/contrib/epee/include/math_helper.h b/contrib/epee/include/math_helper.h index efaf8b9c..27520bfe 100644 --- a/contrib/epee/include/math_helper.h +++ b/contrib/epee/include/math_helper.h @@ -26,7 +26,7 @@ #pragma once -#include +#include #include #include #include diff --git a/external/boost/archive/portable_binary_archive.hpp b/external/boost/archive/portable_binary_archive.hpp index a1f00b34..f29d83d1 100644 --- a/external/boost/archive/portable_binary_archive.hpp +++ b/external/boost/archive/portable_binary_archive.hpp @@ -22,7 +22,7 @@ #endif #include -#include +#include #include diff --git a/external/boost/archive/portable_binary_iarchive.hpp b/external/boost/archive/portable_binary_iarchive.hpp index 9c642e79..88bbaf29 100644 --- a/external/boost/archive/portable_binary_iarchive.hpp +++ b/external/boost/archive/portable_binary_iarchive.hpp @@ -234,7 +234,7 @@ BOOST_SERIALIZATION_REGISTER_ARCHIVE(portable_binary_iarchive) #include #include -#include +#include #include namespace boost @@ -263,12 +263,12 @@ portable_binary_iarchive::load_impl(boost::intmax_t &l, char maxsize) portable_binary_iarchive_exception()); char *cptr = reinterpret_cast(&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) diff --git a/external/boost/archive/portable_binary_oarchive.hpp b/external/boost/archive/portable_binary_oarchive.hpp index 3f7fa32e..79d1e19c 100644 --- a/external/boost/archive/portable_binary_oarchive.hpp +++ b/external/boost/archive/portable_binary_oarchive.hpp @@ -226,8 +226,7 @@ BOOST_SERIALIZATION_REGISTER_ARCHIVE(portable_binary_oarchive) // http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org for updates, documentation, and revision history. - -#include +#include #include namespace boost @@ -269,7 +268,7 @@ portable_binary_oarchive::save_impl( else ll = l; char *cptr = reinterpret_cast(&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);