From 11e2d407ce4a45da8c6981abfd34883cb9174840 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 7 Jun 2010 15:10:37 -0700 Subject: Created a common usrp dsp utils to handle register word calculations. (also switched to boost endian define to avoid c compiler check) --- host/lib/transport/gen_vrt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host/lib/transport/gen_vrt.py') diff --git a/host/lib/transport/gen_vrt.py b/host/lib/transport/gen_vrt.py index 1417240ab..3279ae225 100755 --- a/host/lib/transport/gen_vrt.py +++ b/host/lib/transport/gen_vrt.py @@ -33,10 +33,11 @@ TMPL_TEXT = """ \#include \#include +\#include \#include //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 -- cgit v1.2.3