Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Feb 1997 08:24:30 -0700
From:      Warner Losh <imp@village.org>
To:        obrien@NUXI.com (David O'Brien)
Cc:        freebsd-ports@freebsd.org (FreeBSD ports list), hackers@freebsd.org
Subject:   Re: conditionally including <sys/param.h> 
Message-ID:  <E0vsVgc-0006YL-00@rover.village.org>
In-Reply-To: Your message of "Wed, 05 Feb 1997 22:59:27 PST." <19970205225927.LP41225@dragon.nuxi.com> 
References:  <19970205225927.LP41225@dragon.nuxi.com>  <19970205112604.AI13761@dragon.nuxi.com> <19970205003343.YB13323@dragon.nuxi.com> <Pine.OSF.3.95q.970205081326.9802A-100000@gilligan.eng.umd.edu> <E0vsJWO-0002dq-00@rover.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <19970205225927.LP41225@dragon.nuxi.com> David O'Brien writes:
: Just to make sure we are agreeing on the same thing, can you restate the
: tweaks?

Briefly:

#if (defined(unix) || defined(__unix__)) && !defined(USG)
#include <sys/param.h>
#endif

...

#if defined(BSD) && BSD >= 199304
blah
#endif

This casts a wide enough net to include almost all systems that have a
sys/param.h that is likely to define BSD, yet specifically excludes
things that don't work (eg WinNT and old SYS V (pre r4) and SYS III
machines).

While I haven't seen the final text, this is what is currently in the
handbook until we can refine it to be something even better.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0vsVgc-0006YL-00>