mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Fix building on Mac OS X < 10.12
This patch is inspired by a compatibility header in old WebKit. See
1262b1fbf8/Source/WTF/wtf/mac/AppKitCompatibilityDeclarations.h
Ref: https://github.com/keepassxreboot/keepassxc/issues/2899
This commit is contained in:
parent
ce1f19cacc
commit
e1471cbd19
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user