diff options
-rw-r--r-- | common/arch.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/arch.h b/common/arch.h index 8919d5f8..4201cccf 100644 --- a/common/arch.h +++ b/common/arch.h @@ -34,12 +34,14 @@ typedef signed short int16_t; typedef unsigned short uint16_t; typedef signed int int32_t; typedef unsigned int uint32_t; -typedef signed long long int64_t; -typedef unsigned long long uint64_t; #if defined(_WIN64) +typedef signed __int64 int64_t; +typedef unsigned __int64 uint64_t; typedef signed __int64 intptr_t; typedef unsigned __int64 uintptr_t; #else +typedef signed long long int64_t; +typedef unsigned long long uint64_t; typedef signed long intptr_t; typedef unsigned long uintptr_t; #endif |