mirror of
https://github.com/netbirdio/systray.git
synced 2026-05-22 17:08:41 -07:00
Attempt to fix https://github.com/getlantern/systray/issues/75
This commit is contained in:
+9
-5
@@ -1,12 +1,16 @@
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#include "systray.h"
|
||||
|
||||
#ifndef NSControlStateValueOff
|
||||
#define NSControlStateValueOff NSOffState
|
||||
#endif
|
||||
#if __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_14
|
||||
|
||||
#ifndef NSControlStateValueOff
|
||||
#define NSControlStateValueOff NSOffState
|
||||
#endif
|
||||
|
||||
#ifndef NSControlStateValueOn
|
||||
#define NSControlStateValueOn NSOnState
|
||||
#endif
|
||||
|
||||
#ifndef NSControlStateValueOn
|
||||
#define NSControlStateValueOn NSOnState
|
||||
#endif
|
||||
|
||||
@interface MenuItem : NSObject
|
||||
|
||||
Reference in New Issue
Block a user