From owner-freebsd-ports Thu Jan 9 14:00:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA24010 for ports-outgoing; Thu, 9 Jan 1997 14:00:16 -0800 (PST) Received: (from obrien@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA23863; Thu, 9 Jan 1997 13:58:31 -0800 (PST) From: "David E. O'Brien" Message-Id: <199701092158.NAA23863@freefall.freebsd.org> Subject: Re: Niklas Hallqvist: archivers/hpack.non-usa.only To: chuckr@Glue.umd.edu (Chuck Robey) Date: Thu, 9 Jan 1997 13:58:31 -0800 (PST) Cc: imp@village.org, ache@nagual.ru, asami@cs.berkeley.edu, obrien@cs.ucdavis.edu, m230761@ingenieria.ingsala.unal.edu.co, ports@freebsd.org Reply-To: obrien@cs.ucdavis.edu (David O'Brien) In-Reply-To: from "Chuck Robey" at Jan 9, 97 12:10:55 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I still haven't seen any comments on the > > > > #if defined( unix ) || defined( __unix__ ) > > #include > > #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