M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > "M. Warner Losh" <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message