diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-14 17:56:23 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-14 17:57:33 +0200 |
| commit | 7091df8c93d1e21a4775e558b3f16ac032615df8 (patch) | |
| tree | f5837ead1cf1507d7eb52e96829fd816ee2cbf2a /src | |
| parent | e18b5353cd1931421db376ac4ace4000dfffa86c (diff) | |
Restore building with macOS SDK 10.9 and earlier
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 3 |
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(); |
