C++11, the first C++ with stdint.h, requires the previously protected
macros to be exposed unconditionally by stdint.h. apparently these
checks were an early attempt by the C committee to guess what the C++
committee would want, and they guessed wrong.
typedef uint32_t uint_least32_t;
typedef uint64_t uint_least64_t;
-#if !defined __cplusplus || defined __STDC_LIMIT_MACROS
-
#define INT8_MIN (-1-0x7f)
#define INT16_MIN (-1-0x7fff)
#define INT32_MIN (-1-0x7fffffff)
#include <bits/stdint.h>
-#endif
-
-#if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
-
#define INT8_C(c) c
#define INT16_C(c) c
#define INT32_C(c) c
#endif
#endif
-
-#endif