Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 1997 13:58:31 -0800 (PST)
From:      "David E. O'Brien" <obrien>
To:        chuckr@Glue.umd.edu (Chuck Robey)
Cc:        imp@village.org, ache@nagual.ru, 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:  <199701092158.NAA23863@freefall.freebsd.org>
In-Reply-To: <Pine.OSF.3.95.970109120824.7826A-100000@packet.eng.umd.edu> from "Chuck Robey" at Jan 9, 97 12:10:55 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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.

I'm not really sure that older sysVr3 has it, nor SCO.  So unless we have
enought systems to make a cursory check, I don't like this solution.
 
> Can you make that guarantee?  If not, did you see the thing about using
> .if exists ?

Yes.  But as stated, ".if exists" is BSD make.  Now how many non-4.3Tahoe+
systems have our make???
 
-- David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701092158.NAA23863>