aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/cocoa.mm
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-02-25 14:43:42 +0100
committerPierre Ossman <ossman@cendio.se>2015-02-25 14:43:42 +0100
commit7665b793f0cedb7818c1d516910a49cc87b9fd92 (patch)
tree804f8f7f5ba165a66a70248bd295f1d8b77b805b /vncviewer/cocoa.mm
parent245c8022268ab0111cd0c1eba2d98c83e4261181 (diff)
downloadtigervnc-7665b793f0cedb7818c1d516910a49cc87b9fd92.tar.gz
tigervnc-7665b793f0cedb7818c1d516910a49cc87b9fd92.zip
The legacy OS X keyboard API is only 32-bit
Diffstat (limited to 'vncviewer/cocoa.mm')
-rw-r--r--vncviewer/cocoa.mm2
1 files changed, 1 insertions, 1 deletions
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;