Date: Mon, 3 Feb 1997 14:27:17 +1100 From: davidn@unique.usn.blaze.net.au (David Nugent) 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: <19970203142717.VR58445@usn.blaze.net.au> In-Reply-To: <19970202135048.PN07710@dragon.nuxi.com>; from David O'Brien on Feb 2, 1997 13:50:48 -0800 References: <199701280143.RAA06503@freefall.freebsd.org> <Pine.OSF.3.95q.970127210526.2115E-100000@uplink.eng.umd.edu> <19970202135048.PN07710@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
David O'Brien writes: > Sorry to have to bring this back to light... > I was under the impression that we had agreed that > "#if (defined(__unix__) || defined(unix))" was the best way to > conditionally include <sys/param.h>. However, this email from Chuck, > implies that this is a Bad Thing. ~ > > That test is completely bogus, cause it passes for all sysv systems, > > which _don't_ have sys/param.h. It's a completely useless test, and > > someone justified it by saying that "most systems have a sys/param.h > > anyhow". I said exactly this some weeks back and was told I was wrong, contrary to my own experience of many years working with sysv r3's. Oh well. :-) svr4 apparently does have it, but not sysv before that. Most if not all of those do predefine unix or __unix__. Regards, David Nugent - Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507 3:632/348@fidonet davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970203142717.VR58445>