__FreeBSD__ is not a compiler constant. We must use

__FreeBSD_version here.

Submitted by:	rwatson
This commit is contained in:
Hajimu UMEMOTO 2002-05-31 17:56:45 +00:00
parent 81f5d1fac0
commit 0776834a11

View File

@ -1134,7 +1134,7 @@ ip6_savecontrol(in6p, mp, ip6, m)
struct ip6_hdr *ip6;
struct mbuf *m;
{
#if __FreeBSD__ >= 5
#if __FreeBSD_version >= 500000
struct thread *td = curthread; /* XXX */
#else
struct proc *td = curproc; /* XXX */