From 01b52d08d7eca93fd903fbc462fcbe1096eb6c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Mon, 14 Sep 2015 14:34:24 -0400 Subject: [PATCH] winpr: fix ARM64 data type portability --- winpr/include/winpr/wtypes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/winpr/include/winpr/wtypes.h b/winpr/include/winpr/wtypes.h index 5d4c7e204..271b8c160 100644 --- a/winpr/include/winpr/wtypes.h +++ b/winpr/include/winpr/wtypes.h @@ -54,7 +54,7 @@ #define __int32 int #define __int64 long long -#if __x86_64__ +#if defined(__x86_64__) || defined(__arm64__) #define __int3264 __int64 #else #define __int3264 __int32 @@ -169,7 +169,7 @@ typedef void *PVOID, *LPVOID; typedef void *PVOID64, *LPVOID64; typedef unsigned short WORD, *PWORD, *LPWORD; -#if __x86_64__ +#if defined(__x86_64__) || defined(__arm64__) typedef __int64 INT_PTR; typedef unsigned __int64 UINT_PTR; #else