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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65806
--- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org ---
It's fixed in NetBSD 7:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/stdint.h?rev=1.7content-type=text/x-cvsweb-markuponly_with_tag=MAIN