aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-08-21 15:18:38 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-08-21 15:18:38 -0500
commita8e99198bf4a61dd6763bf008bc86b3c378ce1f9 (patch)
tree1a026587c28112051497b15b23da57033f9e9169 /tests
parentMerge pull request #5743 (diff)
parentboost: update obsolete usage of endian API (diff)
downloadmonero-a8e99198bf4a61dd6763bf008bc86b3c378ce1f9.tar.xz
Merge pull request #5748
b350726 boost: update obsolete usage of endian API (moneromooo-monero)
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/epee_utils.cpp3
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 )