aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/osx_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-05 08:17:22 +0100
committerMax Kellermann <max@duempel.org>2009-01-05 08:17:22 +0100
commitac0fe98ffb9efc1bb7faf6110ec728424003ba42 (patch)
tree72719dcb49d47c90f38c6a618550a5c1d1dee1cf /src/output/osx_plugin.c
parentc844bd602dc6b92f53e7ec7baf20062404bf5683 (diff)
downloadmpd-ac0fe98ffb9efc1bb7faf6110ec728424003ba42.tar.gz
mpd-ac0fe98ffb9efc1bb7faf6110ec728424003ba42.tar.xz
mpd-ac0fe98ffb9efc1bb7faf6110ec728424003ba42.zip
use GLib byte order macros
Diffstat (limited to '')
-rw-r--r--src/output/osx_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c
index ad4128d34..43d81bd76 100644
--- a/src/output/osx_plugin.c
+++ b/src/output/osx_plugin.c
@@ -264,7 +264,7 @@ osx_openDevice(void *data, struct audio_format *audioFormat)
streamDesc.mSampleRate = audioFormat->sample_rate;
streamDesc.mFormatID = kAudioFormatLinearPCM;
streamDesc.mFormatFlags = kLinearPCMFormatFlagIsSignedInteger;
-#ifdef WORDS_BIGENDIAN
+#ifdef G_BYTE_ORDER == G_BIG_ENDIAN
streamDesc.mFormatFlags |= kLinearPCMFormatFlagIsBigEndian;
#endif