From owner-cvs-all Thu May 21 15:38:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA17889 for cvs-all-outgoing; Thu, 21 May 1998 15:38:04 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA17842 for ; Thu, 21 May 1998 15:37:42 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id WAA17781; Thu, 21 May 1998 22:37:37 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id AAA25947; Fri, 22 May 1998 00:37:37 +0200 (MET DST) Message-ID: <19980522003737.00985@follo.net> Date: Fri, 22 May 1998 00:37:37 +0200 From: Eivind Eklund To: Darren Reed Cc: cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/sys/pci if_tl.c if_tlreg.h References: <19980521202541.60347@follo.net> <199805212201.IAA12733@avalon.reed.wattle.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199805212201.IAA12733@avalon.reed.wattle.id.au>; from Darren Reed on Fri, May 22, 1998 at 08:01:32AM +1000 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Fri, May 22, 1998 at 08:01:32AM +1000, Darren Reed wrote: > In some email I received from Eivind Eklund, sie wrote: > > The reason nothing else use __FreeBSD_version directly in this way is > > that we don't provide it to kernel files, and that _suck_. It is one > > of the biggest hurdles for people attempting to do development outside > > of the FreeBSD tree proper. > > FWIW, when the shell setup script for in-kernel compiles of IP Filter is > run, it copies /usr/include/osreldate.h to /sys/sys. > > It might not be a "great" idea, but heck, it's better than having nothing > to use. now contains __FreeBSD_version. So if you don't hear any shouts for removal in the next few days, you've got a certain indicator. If the symbol isn't in you can assume you're building on 2.2 - 3.0 doesn't exist in any other form than -current ;-) I'll merge it to 2.2 'sometime later', so be sure to check the value, though. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message