Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

From: Xin LI <delphij_at_delphij.net>
Date: Wed, 16 Nov 2011 10:07:14 -0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 11/16/11 09:27, Robert Millan wrote:
> Hi!
> 
> Out of the kernel headers that are installed in /usr/include/
> hierracy, there are some which include support multiple operating
> systems (usually FreeBSD and other *BSD flavours).
> 
> This patch adds support to detect GNU/kFreeBSD as well.  In all
> cases, we match the same declarations as FreeBSD does (which is to
> be expected in kernel headers, since both systems share the same
> kernel).
> 
> Does it look fine?

Just my $0.02 -- I think we should probably do it in a more
centralized place -- otherwise in case someone imported some new code,
they have to do the same defined(__FreeBSD__) ||
defined(__FreeBSD_kernel__)?

Cheers,
- -- 
Xin LI <delphij_at_delphij.net>	https://www.delphij.net/
FreeBSD - The Power to Serve!		Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iQEcBAEBCAAGBQJOw/vSAAoJEATO+BI/yjfBozIIAMuqmkNkDkWG4Kra/mQ5HQXZ
Oe/bndGzfUl9H6epFZWc+eeT2zxnlvVUGwVf5si3THU23dZkmynbPj1NnY+oDewt
TwB5nbG0tcClMMesK8L9lJB5AxKHsRtILK8l8xMzsJEj6fRjb8+yrjj8LLK7zUNk
gTQA/sOVR2a4ZARkUlvbgNsE/BBx7NijxFS3uMA91AgsXAniBp4ND6dDwAudQIpW
MqLH4DxJX/6EC2E9ibM5IBB8wguaUWF52oHLGnRAs2JkXzNS/qj6aSepjivSIUzh
gtKKteCpRNexnWq+2pym9OE6tmxW8uoPNUuBxZqOP+laabcn392silZrE0yElh8=
=XHtJ
-----END PGP SIGNATURE-----
Received on Wed Nov 16 2011 - 17:07:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:20 UTC