aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/decoder/oggvorbis_plugin.c2
-rw-r--r--src/output/mvp_plugin.c2
-rw-r--r--src/output/oss_plugin.c2
-rw-r--r--src/output/osx_plugin.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/decoder/oggvorbis_plugin.c b/src/decoder/oggvorbis_plugin.c
index 575767429..ccfeb5719 100644
--- a/src/decoder/oggvorbis_plugin.c
+++ b/src/decoder/oggvorbis_plugin.c
@@ -40,7 +40,7 @@
#include <stdlib.h>
#include <unistd.h>
-#ifdef G_BYTE_ORDER == G_BIG_ENDIAN
+#if G_BYTE_ORDER == G_BIG_ENDIAN
#define OGG_DECODE_USE_BIGENDIAN 1
#else
#define OGG_DECODE_USE_BIGENDIAN 0
diff --git a/src/output/mvp_plugin.c b/src/output/mvp_plugin.c
index f2a97257f..f4ca64c9f 100644
--- a/src/output/mvp_plugin.c
+++ b/src/output/mvp_plugin.c
@@ -34,7 +34,7 @@
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "mvp"
-#ifdef G_BYTE_ORDER == G_BIG_ENDIAN
+#if G_BYTE_ORDER == G_BIG_ENDIAN
#define MVP_USE_LITTLE_ENDIAN false
#else
#define MVP_USE_LITTLE_ENDIAN true
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
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