Date: Mon, 6 Oct 1997 11:15:01 +0100 (MET) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: gurney_j@resnet.uoregon.edu Cc: freebsd-current@FreeBSD.ORG Subject: Re: how to detect different kernel code (select or poll) Message-ID: <199710061015.LAA05174@labinfo.iet.unipi.it> In-Reply-To: <19971006040114.07437@hydrogen.nike.efn.org> from "John-Mark Gurney" at Oct 6, 97 04:00:55 am
next in thread | previous in thread | raw e-mail | index | archive | help
> what is the best way to conditionally compile code depending if select > or poll is in the kernel? > > the problem is that Luigi does he coding on a 2.2.x box.. and my test > machine is a -current box... what is the best way to get both select > and poll code into his sound code? I want to clarify that it's not a problem only the two of us are having... basically all kernel extensions which do not find their place in the official source distributions need to distinguish between the various branches, be them 2.1, 2.2.X 3.0 ... __FreeBSD__ evaluates as 2 on my system (2.2), maybe that's enough for 2.2 - 3 differentiation, but not for other cases. Cheers Luigi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710061015.LAA05174>