Subject: Re: macro __NetBSD__ and version control
To: None <a_grey_m@poczta.onet.pl>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: tech-kern
Date: 01/04/2003 19:07:26
Use __NetBSD_Version__, defined in <sys/param.h>

Jaromir

a_grey_m@poczta.onet.pl wrote:
> hello
> I want ask if there is some macro with version of the system which I use =
(during compilation) , for exemple:
> #if defined (__NetBSD__) && (__NetBSD__ > 153)
> ..
> ..
> ..
> #endif
>=20
> I checked __NetBSD__ but it is predefined macro with definition `1`
>=20
> thanks
> MariuszW
>=20
>=20
>=20
> --------------r-e-k-l-a-m-a-----------------
>=20
> Super tanie kwatery narciarskie.
> Od 300 z=B3/osoba/tydzie=F1
> http://wycieczki.onet.pl


--=20
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.org/
-=3D- We should be mindful of the potential goal, but as the tantric    -=
=3D-
-=3D- Buddhist masters say, ``You may notice during meditation that you -=
=3D-
-=3D- sometimes levitate or glow.   Do not let this distract you.''     -=
=3D-