Skip to content

Commit

Permalink
Fix building on Mac OS X < 10.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Chih-Hsuan Yen authored and droidmonkey committed Jul 7, 2019
1 parent ce1f19c commit e1471cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gui/macutils/AppKitImpl.mm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
#import "AppKitImpl.h"

#import <AppKit/NSWorkspace.h>
#import <Availability.h>

#if __MAC_OS_X_VERSION_MAX_ALLOWED < 101200
static const NSEventMask NSEventMaskKeyDown = NSKeyDownMask;
#endif

@implementation AppKitImpl

Expand Down

0 comments on commit e1471cb

Please sign in to comment.