summaryrefslogtreecommitdiff
path: root/test/blocks.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/blocks.cxx')
-rw-r--r--test/blocks.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/blocks.cxx b/test/blocks.cxx
index bb2f0191a..43c3ffe19 100644
--- a/test/blocks.cxx
+++ b/test/blocks.cxx
@@ -139,6 +139,9 @@ class BlockSound {
// Private, OS-specific data...
#ifdef __APPLE__
AudioDeviceID device;
+#ifndef MAC_OS_X_VERSION_10_5
+#define MAC_OS_X_VERSION_10_5 1050
+#endif
# if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
AudioDeviceIOProcID audio_proc_id;
# endif