Mercurial > hg > octave-lojdl > gnulib-hg
diff lib/inttypes.in.h @ 12491:ad883448fbdf
Reduce namespace pollution on glibc systems.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 24 Dec 2009 16:59:36 +0100 |
parents | f7842310a565 |
children | c2cbabec01dd |
line wrap: on
line diff
--- a/lib/inttypes.in.h +++ b/lib/inttypes.in.h @@ -36,8 +36,11 @@ #if ! defined INTTYPES_H && ! defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H #define INTTYPES_H -/* Include <stdint.h> or the gnulib replacement. */ -#include <stdint.h> +/* Include <stdint.h> or the gnulib replacement. + But avoid namespace pollution on glibc systems. */ +#ifndef __GLIBC__ +# include <stdint.h> +#endif /* Get CHAR_BIT. */ #include <limits.h>