[PATCH] __FreeBSD_kernel__

Chris Rees crees at freebsd.org
Sun Jul 3 14:55:08 UTC 2011


On 3 July 2011 15:44, Alexander Kabaev <kabaev at gmail.com> wrote:
> On Sun, 3 Jul 2011 15:38:41 +0100
> Chris Rees <crees at freebsd.org> wrote:
>> 2011/7/3 Alexander Kabaev <kabaev at gmail.com>:
>> >
>> > __linux__ is exactly what __FreeBSD__ is and dies not identify
>> > kernel but rather Linux as whole OS, whatever that might be these
>> > days.
>> >
>> > There does not appear to be an universal macro that identifies
>> > environment as using Linux kernel regardless of the rest of
>> > components used (say, to identify Android and Ubuntu or something
>> > embedded with ucLibc as running Linux kernel with different userland
>> > implementations).
>>
>> Please-- Linux is not and has never been an OS.
>>
>> __linux__ applies to the kernel, the OS is called GNU/Linux.
>>
>> Call me pedantic, but that was a nonsensical statement.
>>
>> Chris
>
> How about you spare Linux vs. GNU/Linux wordplay for advocacy lists,
> where they belong?

[Further discussion on IRC]

Chris


More information about the freebsd-hackers mailing list