aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/gen_vrt.py
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-06-08 10:51:08 -0700
committerJosh Blum <josh@joshknows.com>2010-06-08 10:51:08 -0700
commit6c8aab3937f1f8904126b0b398f178b494ff9583 (patch)
treefd5531bcbe4b8079e4d1994e24c1576f70fe9bad /host/lib/transport/gen_vrt.py
parentc0ed726125550a1d7dfdad4fb2cc61cd17ca2d89 (diff)
parentd0039bd4128eed56acccce7b20c913afa8cb7381 (diff)
downloaduhd-6c8aab3937f1f8904126b0b398f178b494ff9583.tar.gz
uhd-6c8aab3937f1f8904126b0b398f178b494ff9583.tar.bz2
uhd-6c8aab3937f1f8904126b0b398f178b494ff9583.zip
Merge branch 'wip' into work
Diffstat (limited to 'host/lib/transport/gen_vrt.py')
-rwxr-xr-xhost/lib/transport/gen_vrt.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/transport/gen_vrt.py b/host/lib/transport/gen_vrt.py
index 6cac2ae08..6cdd6645d 100755
--- a/host/lib/transport/gen_vrt.py
+++ b/host/lib/transport/gen_vrt.py
@@ -33,10 +33,11 @@ TMPL_TEXT = """
\#include <uhd/transport/vrt.hpp>
\#include <uhd/utils/byteswap.hpp>
+\#include <boost/detail/endian.hpp>
\#include <stdexcept>
//define the endian macros to convert integers
-\#ifdef HAVE_BIG_ENDIAN
+\#ifdef BOOST_BIG_ENDIAN
\#define BE_MACRO(x) (x)
\#define LE_MACRO(x) uhd::byteswap(x)
\#else