Max Horn to SDL
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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%405226

aduros/SDL_mixer,aduros/SDL_mixer,aduros/SDL_mixer