[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some MacOSX build related questions
From: |
CHENG Gao |
Subject: |
Re: Some MacOSX build related questions |
Date: |
Thu, 20 Oct 2011 00:05:16 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (darwin) |
*On Wed, 19 Oct 2011 17:50:26 +0200
* Also sprach Jan Djärv <address@hidden>:
>> 4) MAC_OS_X_VERSION_10_x (3, 4, 5, 6 at present) are defined in
>> nsterm.h and some other files. Is it necessary? Is it enough as
>> nsgui.h does? (as below)
>>
>> ,----
>> | #ifdef NS_IMPL_COCOA #include <AvailabilityMacros.h> #endif /*
>> | NS_IMPL_COCOA */
>> `----
>
> No, this is not enough. For example, MAC_OS_X_VERSION_10_6 is not
> defined on OSX 10.4, but we use it in the source, so we must define it
> if not defined. The define for MAC_OS_X_VERSION_10_6 in nsterm.m is
> redundant though.
Thanks for explanation. Now I understand.