Revision 11e2d407 host/lib/transport/convert_types.cpp

b/host/lib/transport/convert_types.cpp
20 20
#include <uhd/utils/assert.hpp>
21 21
#include <boost/asio.hpp> //endianness conversion
22 22
#include <boost/cstdint.hpp>
23
#include <boost/detail/endian.hpp>
23 24
#include <complex>
24 25

  
25 26
using namespace uhd;
......
44 45
}
45 46

  
46 47
// set a boolean flag that indicates the endianess
47
#ifdef HAVE_BIG_ENDIAN
48
#ifdef BOOST_BIG_ENDIAN
48 49
static const bool is_big_endian = true;
49 50
#else
50 51
static const bool is_big_endian = false;

Also available in: Unified diff