From 19dc76b329021381c50b71c130ba1b90496314ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Sun, 27 Apr 2014 22:05:31 -0400 Subject: [PATCH] winpr: check for __LP64__ for DWORD and LONG definitions --- winpr/include/winpr/wtypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winpr/include/winpr/wtypes.h b/winpr/include/winpr/wtypes.h index 36a2caaac..964da5288 100644 --- a/winpr/include/winpr/wtypes.h +++ b/winpr/include/winpr/wtypes.h @@ -72,7 +72,7 @@ typedef int BOOL; typedef BOOL *PBOOL, *LPBOOL; -#ifdef __APPLE__ +#if defined(__LP64__) || defined(__APPLE__) typedef int LONG; typedef unsigned int DWORD; typedef unsigned int ULONG;