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] Fix up bswap_* types


On Wed, 22 Aug 2012, Marek Polacek wrote:

> because {,w}ctype.h contains <endian.h> and
> we end up including sysdeps/generic/stdint.h which defines macros above.
> I've circumvent that by using #ifndef _ISOMAC guard around them.

That sounds wrong.  _ISOMAC guards are appropriate in the *internal* 
include/ headers, but the installed headers must conform to the ISO C 
requirements without any such special macros being defined - which means 
not exporting stdint.h symbols in C90 mode.

-- 
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]