Subject: Re: identify darwin/OS X in C files
To: None <tech-pkg@netbsd.org>
From: Klaus Heinz <k.heinz.jun.sechs@onlinehome.de>
List: tech-pkg
Date: 06/07/2006 21:43:20
Manuel Bouyer wrote:
> I used "defined(__MACH__) && defined(__APPLE__)" and it works on OS X 10.4,
> but maybe there's something better ...

I have used __APPLE__ for this purpose, without __MACH__. See
  http://developer.apple.com/technotes/tn2002/tn2071.html

ciao
     Klaus