emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fixing non-NS darwin


From: Dan Nicolaescu
Subject: Re: fixing non-NS darwin
Date: Sun, 03 Aug 2008 18:20:05 -0700

YAMAMOTO Mitsuharu <address@hidden> writes:

  > >>>>> On Sun, 3 Aug 2008 12:41:22 -0400, Adrian Robert <address@hidden> 
said:
  > 
  > > 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.
  > 
  > It's used in CoreFoundation.h in Mac OS X 10.1 - 10.3.
  > 
  > BTW, why the above comment was removed? 

Because it looked like dead code, and the description was not something
that made it clear that it was needed as documentation, nor was the
structure of the code.  There is a proper place now to properly document
macros:  admin/CPP-DEFINES.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]