unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Adrian Robert <adrian.b.robert@gmail.com>
Cc: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>,
	Emacs Development <emacs-devel@gnu.org>
Subject: Re: fixing non-NS darwin
Date: Sun, 03 Aug 2008 18:11:19 -0700	[thread overview]
Message-ID: <200808040111.m741BJph028815@sallyv1.ics.uci.edu> (raw)
In-Reply-To: D6F7ABC9-C194-4964-9BCD-6FB94AD351A7@gmail.com

Adrian Robert <adrian.b.robert@gmail.com> writes:

  > On Aug 3, 2008, at 11:59 AM, Dan Nicolaescu wrote:
  > 
  > > While at it, can you please get rid of  -DMAC_OSX from src/s/darwin.h?
  > 
  > After some discussion with other developers, I think there will need
  > to be some kind of #define there, analogous to WINDOWSNT in s/ms- 
  > w32.h, GNU_LINUX in s/gnu-linux.h, etc..  MAC_OSX is wrong because it
  > could be a non-OS X Darwin system.  DARWIN is wrong because that is
  > apparently defined by the system includes and/or compiler on non-OS X
  > Darwin (see below).  I don't think just the BSD4_2 that's in darwin.h
  > is specific enough.
  > 
  > I am thinking something like DARWIN_BASED_OS?

Is there something that the compiler defines by default?  If there is,
it would be better to use that instead.
If not, I'd vote for DARWIN_OS because is shorter.


  > > And please add documentation to admin/CPP-DEFINES for the DARWIN
  > > macro.
  > 
  > This is not defined anywhere in emacs, but there was this section in
  > an earlier version of darwin.h:
  > 
  > #if 0 /* Don't define DARWIN on Mac OS X because CoreFoundation.h uses
  >         it to distinguish Mac OS X from bare Darwin.  */
  > #ifndef DARWIN
  > #define DARWIN 1
  > #endif
  > #endif
  > 
  > Does anyone know where this IS defined?  Also, I've been unable to
  > find a version of CoreFoundation.h that makes the check referred to.

So what should happen to the code that checks for DARWIN ?





  parent reply	other threads:[~2008-08-04  1:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200808011544.m71Fi4UD026726@sallyv1.ics.uci.edu>
     [not found] ` <E465D318-490F-44DB-B8E2-04227EE9498A@gmail.com>
     [not found]   ` <200808011605.m71G5Wmb010785@sallyv1.ics.uci.edu>
     [not found]     ` <B6D54F89-C459-46DD-BEEA-DB723F7A725E@gmail.com>
     [not found]       ` <200808031559.m73Fx8wt013987@sallyv1.ics.uci.edu>
2008-08-03 16:41         ` fixing non-NS darwin (was: Re: your emacs/src/keyboard.h change) Adrian Robert
2008-08-04  0:23           ` YAMAMOTO Mitsuharu
2008-08-04  1:20             ` fixing non-NS darwin Dan Nicolaescu
2008-08-04  2:03               ` YAMAMOTO Mitsuharu
2008-08-04  2:26                 ` Dan Nicolaescu
2008-08-04  3:49                   ` YAMAMOTO Mitsuharu
2008-08-04  4:02                     ` Dan Nicolaescu
2008-08-04  9:08                       ` Thien-Thi Nguyen
2008-08-04 11:53                         ` Dan Nicolaescu
2008-08-04  1:11           ` Dan Nicolaescu [this message]
2008-08-04 16:11           ` fixing non-NS darwin (was: Re: your emacs/src/keyboard.h change) Adrian Robert
2008-08-04 17:31             ` fixing non-NS darwin Dan Nicolaescu
2008-08-05  9:21             ` fixing non-NS darwin (was: Re: your emacs/src/keyboard.h change) YAMAMOTO Mitsuharu
2008-08-04 13:59         ` Adrian Robert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200808040111.m741BJph028815@sallyv1.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=adrian.b.robert@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=emanuele.giaquinta@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).