diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-08-21 15:18:38 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-08-21 15:18:38 -0500 |
commit | a8e99198bf4a61dd6763bf008bc86b3c378ce1f9 (patch) | |
tree | 1a026587c28112051497b15b23da57033f9e9169 /tests/unit_tests/epee_utils.cpp | |
parent | Merge pull request #5743 (diff) | |
parent | boost: update obsolete usage of endian API (diff) | |
download | monero-a8e99198bf4a61dd6763bf008bc86b3c378ce1f9.tar.xz |
Merge pull request #5748
b350726 boost: update obsolete usage of endian API (moneromooo-monero)
Diffstat (limited to 'tests/unit_tests/epee_utils.cpp')
-rw-r--r-- | tests/unit_tests/epee_utils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit_tests/epee_utils.cpp b/tests/unit_tests/epee_utils.cpp index c5f9a42d0..32328edd9 100644 --- a/tests/unit_tests/epee_utils.cpp +++ b/tests/unit_tests/epee_utils.cpp @@ -27,6 +27,7 @@ // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <array> +#include <boost/predef/other/endian.h> #include <boost/endian/conversion.hpp> #include <boost/range/algorithm/equal.hpp> #include <boost/range/algorithm_ext/iota.hpp> @@ -135,7 +136,7 @@ namespace EXPECT_FALSE( lhs >= rhs ); \ EXPECT_TRUE( rhs >= lhs ) - #ifdef BOOST_LITTLE_ENDIAN + #if BOOST_ENDIAN_LITTLE_BYTE #define CHECK_LESS_ENDIAN(lhs, rhs) CHECK_LESS( rhs , lhs ) #else #define CHECK_LESS_ENDIAN(lhs, rhs) CHECK_LESS( lhs , rhs ) |