[MPlayer-dev-eng] [PATCH v2] Mac OS X: fix compilation on Mac OS X 10.4
Aaro Koskinen
aaro.koskinen at iki.fi
Mon Oct 5 23:14:35 CEST 2009
Hello,
On 5.10.2009, at 21.59, Adrian Stutz wrote:
> 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
Thanks.
> 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.
Hmm, I think you mean:
#if MAC_OS_X_VERSION_MAX_ALLOWED <= 1040
...
#define keycodes
...
#endif
A refreshed patch is attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02-mplayer-libvo-osx-keycodes.patch
Type: application/octet-stream
Size: 1785 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091006/39654b20/attachment.obj>
More information about the MPlayer-dev-eng
mailing list