This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 06/13] Installed header hygiene (BZ#20366): Macros used in #if without checking whether they are defined.


On Wed, 21 Sep 2016, Carlos O'Donell wrote:

> At a high level I would expect _LIBC to always be defined as either 0 or 1.

_LIBC is effectively with external code, because it's used (with #if) in 
code shared by gnulib.  So we can't change its semantics like that; 
defining to 0 with installed glibc would break building gnulib.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]