From owner-freebsd-ports Thu Jan 9 09:11:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA10386 for ports-outgoing; Thu, 9 Jan 1997 09:11:09 -0800 (PST) Received: from po2.glue.umd.edu (root@po2.glue.umd.edu [129.2.128.45]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id JAA10380 for ; Thu, 9 Jan 1997 09:11:06 -0800 (PST) Received: from packet.eng.umd.edu (packet.eng.umd.edu [129.2.98.184]) by po2.glue.umd.edu (8.8.3/8.7.3) with ESMTP id MAA12854; Thu, 9 Jan 1997 12:10:56 -0500 (EST) Received: from localhost (chuckr@localhost) by packet.eng.umd.edu (8.8.3/8.7.3) with SMTP id MAA07837; Thu, 9 Jan 1997 12:10:55 -0500 (EST) X-Authentication-Warning: packet.eng.umd.edu: chuckr owned process doing -bs Date: Thu, 9 Jan 1997 12:10:55 -0500 (EST) From: Chuck Robey X-Sender: chuckr@packet.eng.umd.edu To: Warner Losh cc: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= , Satoshi Asami , obrien@cs.ucdavis.edu, m230761@ingenieria.ingsala.unal.edu.co, ports@FreeBSD.ORG Subject: Re: Niklas Hallqvist: archivers/hpack.non-usa.only In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 9 Jan 1997, Warner Losh wrote: > In message =?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 > #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! ----------------------------+-----------------------------------------------