Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 1997 08:13:12 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        hasty@rah.star-gate.com (Amancio Hasty)
Cc:        tlambert@primenet.com, gurney_j@resnet.uoregon.edu, freebsd-current@FreeBSD.ORG
Subject:   Re: how to detect different kernel code (select or poll)
Message-ID:  <199710070713.IAA07641@labinfo.iet.unipi.it>
In-Reply-To: <199710070559.WAA00280@rah.star-gate.com> from "Amancio Hasty" at Oct 6, 97 10:58:48 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi,
> 
> 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

making things unsupported in the RELEASE is not an option in my
opinion, unless there are strong technical motivations against it,
and this is not the case.

I browsed through the various files involved in the poll change
and could not find any way the preprocessor could tell the difference.
So I have used a new macro, USE_POLL, which must be defined in
sound.h by users who want to compile this code on 3.0.

Fortunately it is used only in one function and one other place, so its
removal should be fine when this code finally finds its way into 2.2.X

I am finishing the modifications and will put a new snap of the code on
my web server quite soon.

	Cheers
	Luigi



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