From 0703e32d6f3df4f39d0848c0843406290f9bf95f Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 25 Nov 2011 09:46:23 +0000 Subject: [PATCH] add some stdint definitions --- dtool/src/parser-inc/stdint.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dtool/src/parser-inc/stdint.h b/dtool/src/parser-inc/stdint.h index 06de8c95cb..060dbf82e7 100644 --- a/dtool/src/parser-inc/stdint.h +++ b/dtool/src/parser-inc/stdint.h @@ -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