Re: Detecting kfreebsd kernel while compiling [hurd]
Joachim Wiedorn <firstname.lastname@example.org> writes:
> But I don't now how can I specify a GNU/Hurd (with mach-Kernel)
> system (hurd-i386), which is still an unofficial port of Debian. I have
> only tried 'defined (__hurd__)' which does not work.
> I think if I say 'defined (__GNU__)' this is always the same an ALL
> Debian systems because Debian alsways use GNU-OS.
‘__GNU__’ is only defined on GNU/Hurd, whereas ‘__GLIBC__’ is defined on
all GNU variants.