K 10 svn:author V 3 imp K 8 svn:date V 27 2002-04-19T22:28:09.000000Z K 7 svn:log V 494 Make this build on 4.x machines again (building a -current kernel on a -stable machine via the old-school methods): Use __FreeBSD_version in preference to __FreeBSD__ >= N where possible. Define a single variable mythread which is set to curproc or curthread depending on the OS version (with a comment saying it is a white lie on 4.x since it really is a proc). NB: __FreeBSD__ is the OS level of the host machine, not the target, and should never be used, if possible, as __FreeBSD__ >= N. END