From owner-freebsd-current Tue Oct 7 00:20:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA04854 for current-outgoing; Tue, 7 Oct 1997 00:20:40 -0700 (PDT) (envelope-from owner-freebsd-current) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id AAA04845 for ; Tue, 7 Oct 1997 00:20:34 -0700 (PDT) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA08092 for freebsd-current@FreeBSD.ORG; Tue, 7 Oct 1997 09:20:33 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id IAA08187; Tue, 7 Oct 1997 08:53:35 +0200 (MET DST) Message-ID: <19971007085335.QS46081@uriah.heep.sax.de> 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) References: <199710062031.NAA24338@usr04.primenet.com> <199710070559.WAA00280@rah.star-gate.com> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199710070559.WAA00280@rah.star-gate.com>; from Amancio Hasty on Oct 6, 1997 22:59:07 -0700 Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. ;-)