[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GCC Preprocessor directives for GNU/Hurd?

On Thu, Dec 17, 2015 at 11:21 PM, Svante Signell
<svante.signell@gmail.com> wrote:
> I would prefer to answer no on this question, it is only kFreeBSD that defines
> __GLIBC__ unconditionally. I've experienced packages assuming that __GLIBC__ is
> defined, and therefore FTBFS on GNU/Hurd.

On Thu, Dec 17, 2015 at 11:35 PM, Samuel Thibault <sthibault@debian.org> wrote:
> Roger Shimizu, on Thu 17 Dec 2015 22:39:18 +0900, wrote:
>> it's safe for most common application to treat __GLIBC__
>> as "Yes" for Linux and Hurd.
> It's yes when the libc being used is glibc. On linux with uclibc for
> instance, it wouldn't be defined. So depending on what feature exactly
> you want to test it may be useful or not.

Thanks so much for your clarify!
I modified that wiki page again, changed from "Yes" to "Depends", plus
the email links.


Reply to: