From 920f86eace90b4d49f91abe38abfe5a09a094a67 Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 9 Apr 2020 14:22:40 +0100 Subject: [PATCH] macOS: Fixed some issues with 32-bit builds --- .../juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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