Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Max Horn to SDL
Unfortunately, this release does not compile on Mac OS X 10.5 anymore, due to using AudioComponentDescription, which is 10.6 only; yet the #ifdef's introduced recently (in revision 5190) assume it is available on 10.5, too. To make it work right, one would have to check whether compiling for 10.6 *and* whether one is compiling using the 10.6 SDK. Note that #if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_5 would not fix this, either, since MAC_OS_X_VERSION_MIN_REQUIRED can be e.g. 1058 (the actual value on my system); you'd want something like #if MAC_OS_X_VERSION_MIN_REQUIRED < 1060 instead (since MAC_OS_X_VERSION_10_6 is not defined on older systems). With the attached patch, it compiles again on my 10.5/intel/32bit system.
- Loading branch information