Subject: Re: identify darwin/OS X in C files
To: None <tech-pkg@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-pkg
Date: 06/07/2006 23:08:07
On Wed, Jun 07, 2006 at 09:43:20PM +0200, Klaus Heinz wrote:
> 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

thanks. Actually this was to fix the same issue as reported in
pkg/33664. Maybe it's better to just remove the cpp conditionnal, and
always to the check.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--