diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/blocks.cxx | 3 | ||||
| -rw-r--r-- | test/sudoku.cxx | 3 |
2 files changed, 6 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 diff --git a/test/sudoku.cxx b/test/sudoku.cxx index f6a27c784..27677b3e9 100644 --- a/test/sudoku.cxx +++ b/test/sudoku.cxx @@ -90,6 +90,9 @@ class SudokuSound { // 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 |
