From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: MAC_OS_X cpp macro? Date: Wed, 12 Dec 2007 09:07:43 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <55f7df060711230241y6aeee7cfr12e61c493002014b@mail.gmail.com> <200711232300.lANN08Up005153@oogie-boogie.ics.uci.edu> <55f7df060711240239p651eecp50739107676ff941@mail.gmail.com> <55f7df060712010430s167704capce5d46fb624a0a0d@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1197418360 24400 80.91.229.12 (12 Dec 2007 00:12:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Dec 2007 00:12:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 12 01:12:49 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J2FDU-0004ty-GU for ged-emacs-devel@m.gmane.org; Wed, 12 Dec 2007 01:12:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2FDC-0004eO-4f for ged-emacs-devel@m.gmane.org; Tue, 11 Dec 2007 19:12:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J2F8f-0002ZD-P6 for emacs-devel@gnu.org; Tue, 11 Dec 2007 19:07:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J2F8c-0002W5-7O for emacs-devel@gnu.org; Tue, 11 Dec 2007 19:07:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2F8b-0002Vw-SK for emacs-devel@gnu.org; Tue, 11 Dec 2007 19:07:45 -0500 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J2F8b-0007wE-6H for emacs-devel@gnu.org; Tue, 11 Dec 2007 19:07:45 -0500 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id BD4FE2C45; Wed, 12 Dec 2007 09:07:43 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-kernel: by monty-python.gnu.org: NetBSD 3.0 (DF) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:85070 Archived-At: >>>>> On Tue, 11 Dec 2007 13:57:48 -0500, Stefan Monnier 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 mituharu@math.s.chiba-u.ac.jp