Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 1996 21:56:44 +1000 (EST)
From:      Darren Reed <avalon@coombs.anu.edu.au>
To:        hackers@freebsd.org
Subject:   beef with release engineering.
Message-ID:  <199610231156.EAA13916@freefall.freebsd.org>

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

For those of us who write software sensitive to changes in include files,
how do we tell FreeBSD versions apart ?

I see __FreeBSD__ (frozen at "2") (in gcc) and __FreeBSD_version, the month
of the release (in osreldate.h).

This isn't nearly useful enough.  Please invent more if possible.
For example, NetBSD has "__NetBSD__" which is the release month and then
a release specific #define, like NetBSD1_2.

Also, it would be nice if including sys/param.h included all the right
files so that you didn't need to explicitly include or look for osreldate.h.
(NetBSD already does this too).

Darren



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