summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Blum2012-06-28 17:55:59 -0700
committerJohnathan Corgan2012-06-29 10:52:37 -0700
commitd0b2c5e6c6fe56541cd0f2242f53b2f2c33642e0 (patch)
tree426a2ef87f41946215ad0636cbd51631a5777686
parentcd5082c84ce613c6e70604bc3a7ec54cbe0b04e1 (diff)
downloadgnuradio-d0b2c5e6c6fe56541cd0f2242f53b2f2c33642e0.tar.gz
gnuradio-d0b2c5e6c6fe56541cd0f2242f53b2f2c33642e0.tar.bz2
gnuradio-d0b2c5e6c6fe56541cd0f2242f53b2f2c33642e0.zip
audio: switch to BOOST_BIG_ENDIAN macro in OSX audio hdr
The previous one didnt seem to be set by the build system. Perhaps this was lost in the transition to CMake?
-rw-r--r--gr-audio/lib/osx/audio_osx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-audio/lib/osx/audio_osx.h b/gr-audio/lib/osx/audio_osx.h
index 0a98b71ef..8c9543d0d 100644
--- a/gr-audio/lib/osx/audio_osx.h
+++ b/gr-audio/lib/osx/audio_osx.h
@@ -51,7 +51,8 @@
fflush (stderr); \
}
-#ifdef WORDS_BIGENDIAN
+#include <boost/detail/endian.hpp> //BOOST_BIG_ENDIAN
+#ifdef BOOST_BIG_ENDIAN
#define GR_PCM_ENDIANNESS kLinearPCMFormatFlagIsBigEndian
#else
#define GR_PCM_ENDIANNESS 0