aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/oss_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/oss_plugin.c')
-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;