diff --git a/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm b/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm index a08985d20d..221d6f22d6 100644 --- a/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm +++ b/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm @@ -1535,11 +1535,15 @@ private: case NSEventTypeRotate: case NSEventTypeBeginGesture: case NSEventTypeEndGesture: - case NSEventTypeSmartMagnify: case NSEventTypeQuickLook: + #if JUCE_64BIT + case NSEventTypeSmartMagnify: case NSEventTypePressure: + #endif #if defined (MAC_OS_X_VERSION_10_12) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_12 + #if JUCE_64BIT case NSEventTypeDirectTouch: + #endif #if defined (MAC_OS_X_VERSION_10_15) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_15 case NSEventTypeChangeMode: #endif