From 7665b793f0cedb7818c1d516910a49cc87b9fd92 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 25 Feb 2015 14:43:42 +0100 Subject: [PATCH] The legacy OS X keyboard API is only 32-bit --- vncviewer/cocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vncviewer/cocoa.mm b/vncviewer/cocoa.mm index e9e09683..09921000 100644 --- a/vncviewer/cocoa.mm +++ b/vncviewer/cocoa.mm @@ -203,7 +203,7 @@ static NSString *key_translate(UInt16 keyCode, UInt32 modifierFlags) layout = NULL; -#if (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5) +#if (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5) || defined(__x86_64__) TISInputSourceRef keyboard; CFDataRef uchr; -- 2.39.5