aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pcm_volume.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm_volume.c b/src/pcm_volume.c
index 01e979c70..2a94c1890 100644
--- a/src/pcm_volume.c
+++ b/src/pcm_volume.c
@@ -59,7 +59,7 @@ pcm_volume_change_16(int16_t *buffer, unsigned num_samples, int volume)
}
}
-#if __i386__
+#ifdef __i386__
/**
* Optimized volume function for i386. Use the EDX:EAX 2*32 bit
* multiplication result instead of emulating 64 bit multiplication.
@@ -94,7 +94,7 @@ static void
pcm_volume_change_24(int32_t *buffer, unsigned num_samples, int volume)
{
while (num_samples > 0) {
-#if __i386__
+#ifdef __i386__
/* assembly version for i386 */
int32_t sample = *buffer;