From 18c4e23a564ae843096810639b802096791d75b1 Mon Sep 17 00:00:00 2001 From: Jon Szymaniak Date: Tue, 6 May 2014 22:57:26 -0400 Subject: [PATCH] libbladeRF: Fixed OSX build issue due to invalid endian wrapper macro --- host/common/include/host_config.h.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/host/common/include/host_config.h.in b/host/common/include/host_config.h.in index 4958f826..34c01e22 100644 --- a/host/common/include/host_config.h.in +++ b/host/common/include/host_config.h.in @@ -52,6 +52,8 @@ * LE32_TO_HOST 32-bit little endian to host endianness conversion * HOST_TO_BE32 32-bit host endianness to big endian conversion * BE32_TO_HOST 32-bit big endian to host endianness conversion + * HOST_TO_BE64 32-bit host endianness to big endian conversion + * BE64_TO_HOST 32-bit big endian to host endianness conversion ******************************************************************************/ /*----------------------- @@ -92,7 +94,7 @@ #define BE32_TO_HOST(val) OSSwapBigToHostInt32(val) #define HOST_TO_LE64(val) OSSwapHostToLittleInt64(val) -#define LE64_TO_HOST(val) OSSwapLittleInt64ToHost(val) +#define LE64_TO_HOST(val) OSSwapLittleToHostInt64(val) #define HOST_TO_BE64(val) OSSwapHostToBigInt64(val) #define BE64_TO_HOST(val) OSSwapBigToHostInt64(val)