[MPlayer-dev-eng] [PATCH v2] Mac OS X: fix compilation on Mac OS X 10.4

Adrian Stutz adrian at sttz.ch
Mon Oct 5 20:59:46 CEST 2009


2009/10/5 Aaro Koskinen <aaro.koskinen at iki.fi>:
> I don't think the SDK provides any information on which version we
> are compiling with.

There's an Apple Tech Note explaining how to compile for different SDKs:
http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/cross_development/Using/using.html

The example uses the __ prefixed defines, which are only available
from 10.5 in Availability.h. To compile on 10.4 you'll have to use
MAC_OS_X_VERSION_MIN_REQUIRED from AvailabilityMacros.h instead.

Greetings
Adrian



More information about the MPlayer-dev-eng mailing list