Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 1997 12:10:55 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        Warner Losh <imp@village.org>
Cc:        =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.ru>, Satoshi Asami <asami@cs.berkeley.edu>, obrien@cs.ucdavis.edu, m230761@ingenieria.ingsala.unal.edu.co, ports@FreeBSD.ORG
Subject:   Re: Niklas Hallqvist: archivers/hpack.non-usa.only 
Message-ID:  <Pine.OSF.3.95.970109120824.7826A-100000@packet.eng.umd.edu>
In-Reply-To: <E0viNT7-00058L-00@rover.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 9 Jan 1997, Warner Losh wrote:

> In message <Pine.BSF.3.95.970109135843.594B-100000@nagual.ru> =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= writes:
> : The most difficult problem is to determine what __44bsd__ macro covers.
> : Is it will be frozen list of features? Or __44bsd__ will reflect some
> : version/date which synchronizes through all *BSDs? Looks unreal.
> 
> I think that is why I object to it as well.  Is that BSD 4.4, 4.4 Lite
> or 4.4 Lite 2?
> 
> I still haven't seen any comments on the
> 
> #if defined( unix ) || defined( __unix__ )
> #include <sys/param.h>
> #endif
> 
> code that I posted which should work and be correct on most systems.

I don't know ... does sys/param.h exist on _every_ last system that has
unix or __unix__ defined?  If not, the code above is a fatal error, and no
good.  If it's guaranteed true, it's fine, and I'd use it.

Can you make that guarantee?  If not, did you see the thing about using
.if exists ?

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@eng.umd.edu          | communications topic, C programming, and Unix.
9120 Edmonston Ct #302      |
Greenbelt, MD 20770         | I run Journey2 and picnic, both FreeBSD
(301) 220-2114              | version 3.0 current -- and great FUN!
----------------------------+-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.95.970109120824.7826A-100000>