Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2012 12:54:36 +0430
From:      Hooman Fazaeli <hoomanfazaeli@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   How to know __FreeBSD_version for a symbol
Message-ID:  <5028B9C4.60000@gmail.com>

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

In the process of back porting drivers to older freebsd versions,
We sometimes need to add suitable '#if __FreeBSD_version >= xxxxx ... else ... '
directives to the source to use an alternate function or exclude certain
statements, defines, etc.

What is the best (quick/reliable) way to know in which __FreeBSD_version
a symbol (function, struct member, macro, ...) has been first introduced?




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