[Bug libstdc++/65806] NetBSD's <stdint.h> expects __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 22 10:17:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65806

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Hmm, why doesn't GCC's own stdint.h solve this? It does:

# if defined __cplusplus && __cplusplus >= 201103L
#  undef __STDC_LIMIT_MACROS
#  define __STDC_LIMIT_MACROS
#  undef __STDC_CONSTANT_MACROS
#  define __STDC_CONSTANT_MACROS
# endif
# include_next <stdint.h>



More information about the Gcc-bugs mailing list