diff options
Diffstat (limited to 'src/common/cbasetypes.h')
-rw-r--r-- | src/common/cbasetypes.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h index f94e9c6e7..1890a0901 100644 --- a/src/common/cbasetypes.h +++ b/src/common/cbasetypes.h @@ -199,9 +199,17 @@ typedef unsigned long long uint64; #ifdef __64BIT__ typedef uint64 uintptr; typedef int64 intptr; +#define UINTPTR_MIN UINT64_MIN +#define UINTPTR_MAX UINT64_MAX +#define INTPTR_MIN INT64_MIN; +#define INTPTR_MAX INT64_MAX; #else typedef uint32 uintptr; typedef int32 intptr; +#define UINTPTR_MIN UINT32_MIN +#define UINTPTR_MAX UINT32_MAX +#define INTPTR_MIN INT32_MIN; +#define INTPTR_MAX INT32_MAX; #endif |