summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/blocks.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/blocks.cxx b/test/blocks.cxx
index 4aa9e1c76..6c828c04d 100644
--- a/test/blocks.cxx
+++ b/test/blocks.cxx
@@ -383,7 +383,7 @@ BlockSound::play_explosion(float duration) {
if (duration <= 0.0)
return;
-#if defined(__APPLE_) || defined(WIN32) || defined(HAVE_ALSA_ASOUNDLIB_H)
+#if defined(__APPLE__) || defined(WIN32) || defined(HAVE_ALSA_ASOUNDLIB_H)
if (duration > 1.0)
duration = 1.0;