aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/oss_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/oss_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/oss_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/oss_plugin.c b/src/output/oss_plugin.c
index 98d0fd94d..95b1b9063 100644
--- a/src/output/oss_plugin.c
+++ b/src/output/oss_plugin.c
@@ -40,11 +40,11 @@
# include <sys/soundcard.h>
#endif /* !(defined(__OpenBSD__) || defined(__NetBSD__) */
-#ifdef WORDS_BIGENDIAN
+#ifdef G_BYTE_ORDER == G_BIG_ENDIAN
# define AFMT_S16_MPD AFMT_S16_BE
#else
# define AFMT_S16_MPD AFMT_S16_LE
-#endif /* WORDS_BIGENDIAN */
+#endif
typedef struct _OssData {
int fd;