From: Pierre Ossman Date: Wed, 25 Feb 2015 13:43:42 +0000 (+0100) Subject: The legacy OS X keyboard API is only 32-bit X-Git-Tag: v1.4.90~37^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7665b793f0cedb7818c1d516910a49cc87b9fd92;p=tigervnc.git The legacy OS X keyboard API is only 32-bit --- 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;