Forgot to add definitions of the notification constants for old SDKs

This commit is contained in:
Kovid Goyal
2021-11-20 04:58:53 +05:30
parent 19e653ef1b
commit ae6318cb5a

View File

@@ -25,6 +25,10 @@
#define NSEventModifierFlagCommand NSCommandKeyMask #define NSEventModifierFlagCommand NSCommandKeyMask
#define NSEventModifierFlagControl NSControlKeyMask #define NSEventModifierFlagControl NSControlKeyMask
#endif #endif
#if (MAC_OS_X_VERSION_MAX_ALLOWED < 110000)
#define UNNotificationPresentationOptionList (1 << 3)
#define UNNotificationPresentationOptionBanner (1 << 4)
#endif
typedef int CGSConnectionID; typedef int CGSConnectionID;
typedef int CGSWindowID; typedef int CGSWindowID;