From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: MAC_OS_X cpp macro? Date: Tue, 11 Dec 2007 13:57:48 -0500 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 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197399521 22848 80.91.229.12 (11 Dec 2007 18:58:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Dec 2007 18:58:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 11 19:58:52 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 1J2AJX-0001EI-Ol for ged-emacs-devel@m.gmane.org; Tue, 11 Dec 2007 19:58:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2AJG-0006SU-4G for ged-emacs-devel@m.gmane.org; Tue, 11 Dec 2007 13:58:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J2AIm-00069M-BG for emacs-devel@gnu.org; Tue, 11 Dec 2007 13:57:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J2AIk-000684-Lo for emacs-devel@gnu.org; Tue, 11 Dec 2007 13:57:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2AIk-00067z-HE for emacs-devel@gnu.org; Tue, 11 Dec 2007 13:57:54 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J2AIk-00012Y-Et for emacs-devel@gnu.org; Tue, 11 Dec 2007 13:57:54 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id D692C2CF85F; Tue, 11 Dec 2007 13:57:53 -0500 (EST) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id EC7B43FE0; Tue, 11 Dec 2007 13:57:48 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id D62B96CAA3; Tue, 11 Dec 2007 13:57:48 -0500 (EST) In-Reply-To: (YAMAMOTO Mitsuharu's message of "Tue, 11 Dec 2007 10:08:18 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.613, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, UPPERCASE_25_50 0.21) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:85055 Archived-At: >> MAC_OS Compiling for some version of Mac OS? > In short, it corresponds to (eq window-system 'mac), or is equivalent > to `MAC_OS8 || (MAC_OSX && HAVE_CARBON)'. Currently it can be said as > "Compile support for the Mac native GUI", but this will no longer be > true if the Cocoa port is merged. Hmm... see below. >> MAC_OSX Compiling for Mac OS X? Is that also valid for Darwin? > Compiling for Mac OS X. Not valid for bare Darwin. > Also, DARWIN should not be defined for Mac OS X because it is used for > distinguishing them in CoreFoundation.h. OK. >> 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? If there is none, then HAVE_CARBON and MAC_OS seem to be equivalent. Stefan