Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Sep 1997 23:00:55 -0400 (EDT)
From:      john hood <cgull@smoke.marlboro.vt.us>
To:        Terry Lambert <tlambert@primenet.com>, freebsd-current@freebsd.org
Subject:   Bug in committed pci/if_de.c
Message-ID:  <199709080300.XAA17185@smoke.marlboro.vt.us>
In-Reply-To: <199709071440.HAA08754@usr09.primenet.com>
References:  <199709071440.HAA08754@usr09.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert writes:
 > It's also incorrect because it's using __FreeBSD__, which is a compiler
 > compile-time constant, and has nothing to do with the version of FreeBSD
 > that is being target by the compile, only (really) which version of
 > FreeBSD the compiler was compiled on.

Well...is there a way to determine which version or variant of the
kernel's buing built?  There's one new define that keeps wd.c from
being portable between 2.2.2 and -current, and I'd like to find
something a tad more elegant than '#if defined'...

  --jh

-- 
John Hood				cgull@smoke.marlboro.vt.us

Predictably, they all eventually wandered away, rubbing their bruises
and brushing mud out of their hair.  Some went off to work for the
ESA, launching much smaller rockets into low orbits, while others
elected to sit on their front porches drinking Jim Beam from the
bottle and launching bottle rockets from the empties. [Jordan Hubbard]




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709080300.XAA17185>