Date: Wed, 5 Mar 2003 13:34:52 +0100 From: Maxime Henrion <mux@freebsd.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: kutulu@kutulu.org, freebsd-hackers@FreeBSD.ORG Subject: Re: D_KQFILTER & ltmdm: Patch for review? Message-ID: <20030305123452.GC63673@elvis.mu.org> In-Reply-To: <20030304.200954.18843267.imp@bsdimp.com> References: <01be01c2e2b6$30742b00$29330f0a@lcapps.educate.com> <20030304.194917.100118237.imp@bsdimp.com> <20030304.200954.18843267.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh wrote: > In message: <20030304.194917.100118237.imp@bsdimp.com> > "M. Warner Losh" <imp@bsdimp.com> writes: > : : static struct cdevsw sio_cdevsw = { > : : +#if __FreeBSD_version >= 500104 /* >= 20030303 */ > : > : This syntax works even for old versions of FreeBSD. You can make it > : safe by including all the noFoo functions. phk got rid of them > : because it is safe in >= 500104 to do that. Since you want to run on > : multiple versions, it would be better/safer to do that. [...] FWIW, the correct __FreeBSD_version number for the cdevsw initialization changes is 500105. Cheers, Maxime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030305123452.GC63673>