Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers
-----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@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-----
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 1 之 24 篇):