aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/oss_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-05 12:40:57 +0100
committerMax Kellermann <max@duempel.org>2009-01-05 12:40:57 +0100
commitd9c2960a55daa925acddda70f7ece8bba8d4b113 (patch)
tree38e3171871c5b5b731893d8e8d7873e7fcea98f8 /src/output/oss_plugin.c
parentb8a1cf30e8a668e857d2b5092e54aed5db6ffedb (diff)
downloadmpd-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 'src/output/oss_plugin.c')
-rw-r--r--src/output/oss_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/oss_plugin.c b/src/output/oss_plugin.c
index 95b1b9063..f46377254 100644
--- a/src/output/oss_plugin.c
+++ b/src/output/oss_plugin.c
@@ -40,7 +40,7 @@
# include <sys/soundcard.h>
#endif /* !(defined(__OpenBSD__) || defined(__NetBSD__) */
-#ifdef G_BYTE_ORDER == G_BIG_ENDIAN
+#if G_BYTE_ORDER == G_BIG_ENDIAN
# define AFMT_S16_MPD AFMT_S16_BE
#else
# define AFMT_S16_MPD AFMT_S16_LE