[PATCH] __FreeBSD_kernel__

Robert Millan rmh at debian.org
Sun Jul 3 10:24:59 UTC 2011


2011/7/3 Benjamin Kaduk <kaduk at mit.edu>:
> %       builtin_define_with_int_value ("__FreeBSD__", FBSD_MAJOR);      \
> % +     builtin_define ("__FreeBSD_kernel__");                          \
>
> Is there a reason to prefer just defining the symbol to also including the
> major version number as is done for __FreeBSD__?

None.  It's just not useful from our side, but it does no harm either.

(In Debian world, there's no tight integration like you have by
putting FreeBSD kernel and compiler(s) in the same repository.  A
particular version of GCC can be used to compile for one kernel or
another, so we wouldn't be able to "commit" it to a specific kernel
version)

-- 
Robert Millan


More information about the freebsd-hackers mailing list