diff options
author | imp <imp@FreeBSD.org> | 2002-04-19 22:28:09 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-04-19 22:28:09 +0000 |
commit | 3e109d2cd3931ca713003306981eb9c6e33c03c6 (patch) | |
tree | e55959d250784cbb4de06416bce4474b79ab309a /usr.bin/dnskeygen | |
parent | 96e8895af5938fcd91b4d4862b943ce0961e1ab1 (diff) | |
download | FreeBSD-src-3e109d2cd3931ca713003306981eb9c6e33c03c6.zip FreeBSD-src-3e109d2cd3931ca713003306981eb9c6e33c03c6.tar.gz |
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.
Diffstat (limited to 'usr.bin/dnskeygen')
0 files changed, 0 insertions, 0 deletions