[PATCH] __FreeBSD_kernel__

Robert Millan rmh at debian.org
Sun Jul 3 15:47:03 UTC 2011


2011/7/3 Robert Millan <rmh at debian.org>:
> 2011/7/3 Alexander Kabaev <kabaev at gmail.com>:
>> Not really, unless you have way of sticking this definition into past
>> compiler releases.
>
> There is one way, but it's slow.  It basically involves waiting for
> long enough that any past release of any compiler you care about
> includes the macros you need, before starting to use them. :-)

However, in the case of FreeBSD, where the compilers are imported into
your codebase, isn't it enough if support is present in the FreeBSD
version of these compilers (for production and development releases of
FreeBSD), plus the latest release of the upstream version of each of
those compilers?

-- 
Robert Millan


More information about the freebsd-hackers mailing list