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

Re: GCC Preprocessor directives for GNU/Hurd?

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.


Reply to: