Subject: Re: identify darwin/OS X in C files
To: None <firstname.lastname@example.org>
From: Manuel Bouyer <email@example.com>
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
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 <firstname.lastname@example.org>
NetBSD: 26 ans d'experience feront toujours la difference