cleanup types stuff in headers, fix missing u_int*_t in sys/types.h

This commit is contained in:
Rich Felker
2011-04-11 10:38:00 -04:00
parent dae17a1aaf
commit 28bde3b787
4 changed files with 19 additions and 29 deletions

View File

@ -38,6 +38,16 @@
#include <bits/alltypes.h>
typedef int8_t int_least8_t;
typedef int16_t int_least16_t;
typedef int32_t int_least32_t;
typedef int64_t int_least64_t;
typedef uint8_t uint_least8_t;
typedef uint16_t uint_least16_t;
typedef uint32_t uint_least32_t;
typedef uint64_t uint_least64_t;
#if !defined __cplusplus || defined __STDC_LIMIT_MACROS
#define INT8_MIN (-1-0x7f)