We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bdc2ab commit 10a26d6Copy full SHA for 10a26d6
src/_macosx.m
@@ -18,7 +18,7 @@
18
#define COMPILING_FOR_10_10
19
#endif
20
21
-#if __MAC_OS_X_VERSION_MAX_ALLOWED < 101200
+#if __MAC_OS_X_VERSION_MIN_REQUIRED < 101200
22
/* A lot of symbols were renamed in Sierra and cause deprecation warnings
23
so define macros for the new names if we are compiling on an older SDK */
24
#define NSEventMaskAny NSAnyEventMask
@@ -45,7 +45,7 @@
45
#define NSWindowStyleMaskTitled NSTitledWindowMask
46
47
48
-#if __MAC_OS_X_VERSION_MAX_ALLOWED < 101400
+#if __MAC_OS_X_VERSION_MIN_REQUIRED < 101400
49
/* A few more deprecations in Mojave */
50
#define NSButtonTypeMomentaryLight NSMomentaryLightButton
51
#define NSButtonTypePushOnPushOff NSPushOnPushOffButton
0 commit comments