Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 1997 08:53:35 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: how to detect different kernel code (select or poll)
Message-ID:  <19971007085335.QS46081@uriah.heep.sax.de>
In-Reply-To: <199710070559.WAA00280@rah.star-gate.com>; from Amancio Hasty on Oct 6, 1997 22:59:07 -0700
References:  <199710062031.NAA24338@usr04.primenet.com> <199710070559.WAA00280@rah.star-gate.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As Amancio Hasty wrote:

> I think that our current problem is that the poll code is not in 
> 2.2 and whoever checked in the code  should have at least thought of the
> incompatibility issues . One option is not to support 2.2
> which the poll check in so far seems to imply at least with
> respect to drivers.

Why don't you just test for

#if __FreeBSD__ >= 3

?  The bigger problem is to make it backwards compatible with older
3.0-current systems, and/or make it cross-compilable.  The above
decision is a rather rough one.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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