Ticket #9228 (closed enhancement: invalid)
GNU/kFreeBSD support: matching some (but not all!) RT_OS_FREEBSD checks
|Reported by:||rmh||Owned by:|
Description (last modified by aeichner) (diff)
As GNU/kFreeBSD is an hybrid system (userland from GNU with kernel from FreeBSD), it can't just define RT_OS_FREEBSD, because RT_OS_FREEBSD is sometimes used for kernel-related checks and sometimes used for userland-related checks (and we only want to match the first type).
Here's a patch that adds defined(FreeBSD_kernel) selectively on those RT_OS_FREEBSD checks that care about the kernel only.