Merge pull request #2888 from awakecoding/master

fix ARM64 data type portability
This commit is contained in:
Marc-André Moreau 2015-09-15 09:12:00 -04:00
commit 2c3c6930c3

View File

@ -54,7 +54,7 @@
#define __int32 int #define __int32 int
#define __int64 long long #define __int64 long long
#if __x86_64__ #if defined(__x86_64__) || defined(__arm64__)
#define __int3264 __int64 #define __int3264 __int64
#else #else
#define __int3264 __int32 #define __int3264 __int32
@ -169,7 +169,7 @@ typedef void *PVOID, *LPVOID;
typedef void *PVOID64, *LPVOID64; typedef void *PVOID64, *LPVOID64;
typedef unsigned short WORD, *PWORD, *LPWORD; typedef unsigned short WORD, *PWORD, *LPWORD;
#if __x86_64__ #if defined(__x86_64__) || defined(__arm64__)
typedef __int64 INT_PTR; typedef __int64 INT_PTR;
typedef unsigned __int64 UINT_PTR; typedef unsigned __int64 UINT_PTR;
#else #else