diff options
author | Max Kellermann <max@duempel.org> | 2009-01-05 12:40:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-05 12:40:57 +0100 |
commit | d9c2960a55daa925acddda70f7ece8bba8d4b113 (patch) | |
tree | 38e3171871c5b5b731893d8e8d7873e7fcea98f8 /src/output/osx_plugin.c | |
parent | b8a1cf30e8a668e857d2b5092e54aed5db6ffedb (diff) | |
download | mpd-d9c2960a55daa925acddda70f7ece8bba8d4b113.tar.gz mpd-d9c2960a55daa925acddda70f7ece8bba8d4b113.tar.xz mpd-d9c2960a55daa925acddda70f7ece8bba8d4b113.zip |
fix G_BYTE_ORDER check
"#ifdef G_BYTE_ORDER == G_BIG_ENDIAN" cannot work, of course.
Diffstat (limited to '')
-rw-r--r-- | src/output/osx_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c index 43d81bd76..ed3e92073 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 G_BYTE_ORDER == G_BIG_ENDIAN +#if G_BYTE_ORDER == G_BIG_ENDIAN streamDesc.mFormatFlags |= kLinearPCMFormatFlagIsBigEndian; #endif |