From bc750e98308ee217ec00b2e3429c196b873f8b60 Mon Sep 17 00:00:00 2001 From: Jakub Adam Date: Tue, 23 Feb 2016 15:27:33 +0100 Subject: [PATCH] Fix build on older 32-bit Ubuntu releases Some older 32-bit versions of gcc fail on '#elif __x86_64__'. This applies at least to what Ubuntu 14.04 and 15.04 have as the default compiler. --- winpr/include/winpr/wtypes.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winpr/include/winpr/wtypes.h.in b/winpr/include/winpr/wtypes.h.in index 1bfa553a8..93543f9af 100644 --- a/winpr/include/winpr/wtypes.h.in +++ b/winpr/include/winpr/wtypes.h.in @@ -285,7 +285,7 @@ typedef void *PVOID64, *LPVOID64; #if WINPR_HAVE_STDINT_H typedef intptr_t INT_PTR; typedef uintptr_t UINT_PTR; -#elif __x86_64__ +#elif defined (__x86_64__) typedef __int64 INT_PTR; typedef unsigned __int64 UINT_PTR; #else