From b459e02eedf358ef564020d698a9d96b711bf14e Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 14 Jan 2019 13:49:05 -0800 Subject: endianness: Replace Boost macros with custom ones Boost changed the macros for endianness identification in 1.69, and the deprecation warning is a pretty noisy one during compilation. This abstracts away the Boost macro, so we have two UHD macros, UHD_BIG_ENDIAN and UHD_LITTLE_ENDIAN. They indicate big and little endian byte order. --- host/lib/convert/convert_with_tables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/convert') diff --git a/host/lib/convert/convert_with_tables.cpp b/host/lib/convert/convert_with_tables.cpp index 40efc5190..5c9248052 100644 --- a/host/lib/convert/convert_with_tables.cpp +++ b/host/lib/convert/convert_with_tables.cpp @@ -168,7 +168,7 @@ private: * Factory functions and registration **********************************************************************/ -#ifdef BOOST_BIG_ENDIAN +#ifdef UHD_BIG_ENDIAN # define SHIFT_PAIR0 16, 0 # define SHIFT_PAIR1 0, 16 # define BE_SWAP false -- cgit v1.2.3