Commit b3aab662 authored by Kyle McKay's avatar Kyle McKay 💬
Browse files

ao_macosx.c: restore compatibility with older Mac OS X versions

The newer function names are not available until Mac OS X 10.6.0.

However, the newer function names are just a simple rename of the
older functions with exactly the same arguments.

If the build target is prior to Mac OS X 10.6.0 (where the new
function names became available) add a few backwards compatibility
defines to allow the source to build on older Mac OS X versions.

Newer systems will continue to use the new names and avoid the
ugly deprecation warnings while builds for older systems will
just work.
Signed-off-by: Kyle McKay's avatarKyle J. McKay <>
parent 4b8a95ba
Pipeline #2342 passed with stage
in 50 seconds