Subject: Re: Zoolib & NetBSD...
To: Thorbjorn Jemander <thoan@ifm.liu.se>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-users
Date: 01/02/2001 08:19:29
On Tue, 2 Jan 2001, Thorbjorn Jemander wrote:
>
> > > 1. The __unix__ flag doesn't seem to be defined in NetBSD, why?
> >
> > Don't know; maybe because it's not part of any standart and deprecated ?
>
> Ok, so is there any define common for most unices, or least for
> the BSD's?
In a word, no. What would be the point? QNX has no more in common with
__NetBSD__ than Win95. That's why "__unix__" is deprecated. If you
need to compile old software that expects __unix__ to be defined, the
easiest thing to do is to add -D__unix__ to "CFLAGS".
--
Frederick