cleanup types stuff in headers, fix missing u_int*_t in sys/types.h
This commit is contained in:
parent
dae17a1aaf
commit
28bde3b787
4 changed files with 19 additions and 29 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue