Merge pull request #190 from sutajiokousagi/pr_c99_types

update stdint.h to include c99 types
This commit is contained in:
Tim Ansell 2019-06-02 08:15:52 -07:00 committed by GitHub
commit 9682189b40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -18,6 +18,15 @@ typedef int int32_t;
typedef short int16_t;
typedef char int8_t;
typedef char int_least8_t;
typedef unsigned char uint_least8_t;
typedef short int_least16_t;
typedef unsigned short uint_least16_t;
typedef int int_least32_t;
typedef unsigned int uint_least32_t;
typedef long long int_least64_t;
typedef unsigned long long uint_least64_t;
#define __int_c_join(a, b) a ## b
#define __int_c(v, suffix) __int_c_join(v, suffix)
#define __uint_c(v, suffix) __int_c_join(v##U, suffix)