add some stdint definitions

This commit is contained in:
rdb
2011-11-25 09:46:23 +00:00
parent b9c02b60a5
commit 0703e32d6f
+10
View File
@@ -31,5 +31,15 @@ typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long int uint64_t;
typedef long long int intmax_t;
typedef unsigned long long int uintmax_t;
#if __WORDSIZE == 64
typedef int64_t intptr_t;
typedef uint64_t uintptr_t;
#else
typedef int32_t intptr_t;
typedef uint32_t uintptr_t;
#endif
#endif