In the last episode (Oct 27), Roger Hardiman said:
I'm working with someone porting linux code to FreeBSD. Actually,
they want to port it to all BSDs.
So, rather than having
#if defined (FreeBSD) || defined (NetBSD)
|| defined (OpenBSD || defined (bsdi)
I am looking for a
#if
On Wed, 27 Oct 1999, Dan Nelson wrote:
In the last episode (Oct 27), Roger Hardiman said:
I'm working with someone porting linux code to FreeBSD. Actually,
they want to port it to all BSDs.
So, rather than having
#if defined (FreeBSD) || defined (NetBSD)
|| defined (OpenBSD ||
In message [EMAIL PROTECTED] Roger Hardiman writes:
: #if defined (BSD)
: or #ifdef BSD
#include sys/param.h
BSD will be defined on BSD systems, for what it is worth.
However, these days
#ifndef linux
#endif
works just about as well and is often time more accurate in describing
what needs to
3 matches
Mail list logo