aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/osx_plugin.c
diff options
context:
space:
mode:
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