Subject: macro __NetBSD__ and version control
To: None <tech-kern@netbsd.org>
From: None <a_grey_m@poczta.onet.pl>
List: tech-kern
Date: 01/22/2003 16:44:19
--_Part_4w1k0c.3a0q7w=_479607.qvulnb
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: 8bit

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

I checked __NetBSD__ but it is predefined macro with definition `1`

thanks
MariuszW



--------------r-e-k-l-a-m-a-----------------

Super tanie kwatery narciarskie.
Od 300 zł/osoba/tydzień
http://wycieczki.onet.pl
--_Part_4w1k0c.3a0q7w=_479607.qvulnb
Content-Type: text/html; charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-2">
<META name=3D"GENERATOR" content=3D"onet.poczta">
</HEAD><BODY>
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

I checked __NetBSD__ but it is predefined macro with definition `1`

thanks
MariuszW<br><br>--------------r-e-k-l-a-m-a-----------------<br>
<br>
Super tanie kwatery narciarskie!
<br>
<a
href="http://wycieczki.onet.pl">
Od 300 zł / osoba / tydzień - Wycieczki.Onet.pl!</a>
</BODY></HTML>


--_Part_4w1k0c.3a0q7w=_479607.qvulnb--