winpr: fix ARM64 data type portability
This commit is contained in:
parent
a700d1d02d
commit
01b52d08d7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user