Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 95 14:30:20 JST
From:      Masahiro SEKIGUCHI <seki@sysrap.cs.fujitsu.co.jp>
To:        hackers@FreeBSD.org
Subject:   FreeBSD version macro?
Message-ID:  <9504050530.AA02941@seki.sysrap.cs.fujitsu.co.jp>

next in thread | raw e-mail | index | archive | help
Hackers,

In a device driver, I want to write an #if something like this:

	#if (This is FreeBSD 950210-SNAP or later)
		codes for 950210, 950322, or more recent -curret;
	#else
		codes for 2.0 RELEASE;
	#endif

With what macro can I test this?

Thanks.



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