summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-04-14 17:56:23 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-04-14 17:57:33 +0200
commit7091df8c93d1e21a4775e558b3f16ac032615df8 (patch)
treef5837ead1cf1507d7eb52e96829fd816ee2cbf2a /src
parente18b5353cd1931421db376ac4ace4000dfffa86c (diff)
Restore building with macOS SDK 10.9 and earlier
Diffstat (limited to 'src')
-rw-r--r--src/Fl_cocoa.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 5db3bae33..fec06c066 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -2468,6 +2468,9 @@ static FLTextInputContext* fltextinputcontext_instance = nil;
Fl::handle(FL_KEYUP,window);
fl_unlock_function();
}
+#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_10
+ typedef NSUInteger NSEventModifierFlags;
+#endif
- (void)flagsChanged:(NSEvent *)theEvent {
//NSLog(@"flagsChanged: ");
fl_lock_function();