summaryrefslogtreecommitdiff
path: root/test/blocks.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2014-04-27 13:57:09 +0000
committerManolo Gouy <Manolo>2014-04-27 13:57:09 +0000
commit6c92cc9a8d7e5b3aa90e3b4541201dbbd4ef3fc4 (patch)
tree78570da3b35f825cc983576f3408b450bf8ecce8 /test/blocks.cxx
parent6ae1b1665ef7d092f70270a8cc4e21ab9d8a96f0 (diff)
Fix STR#3063: compilation using Mac OS 10.4
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10127 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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