[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MAC_OS_X cpp macro?
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: MAC_OS_X cpp macro? |
Date: |
Wed, 12 Dec 2007 09:07:43 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Tue, 11 Dec 2007 13:57:48 -0500, Stefan Monnier <address@hidden> said:
>>> HAVE_CARBON Compile support for the Carbon GUI. Requires MAC_OS?
>> Yes. For MAC_OS8, either of HAVE_CARBON and !HAVE_CARBON is
>> possible and the native GUI is used anyway.
> What's the difference between MAC_OS8 with HAVE_CARBON and MAC_OS8
> without HAVE_CARBON?
The former uses the Carbon APIs, and the latter uses the earlier APIs.
http://developer.apple.com/documentation/Carbon/Conceptual/carbon_porting_guide/cpg_intro_struct/chapter_1_section_1.html
So MAC_OS does not necessarily mean HAVE_CARBON.
In Emacs 23, removal of the whole Mac OS Classic (8 or 9) support is
much more likely to happen than that of the Carbon support. Then this
distinction will become meaningless in that version. Of course, the
documentation for cpp defines is still useful to read the Emacs 22
code.
YAMAMOTO Mitsuharu
address@hidden