summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDraw.c
diff options
context:
space:
mode:
authorculler <culler>2020-08-24 17:07:04 (GMT)
committerculler <culler>2020-08-24 17:07:04 (GMT)
commit0a55a8cb5333b7fdbb29273ca364102c7a7f743e (patch)
tree6aadc7e5ce6550364882b31a874a52dea3a59c2f /macosx/tkMacOSXDraw.c
parented5dd16c2ee4779451651a8edade91ecca229538 (diff)
parente98f41ec7f422fce9089b087b6ca9bfd73697988 (diff)
downloadtk-0a55a8cb5333b7fdbb29273ca364102c7a7f743e.zip
tk-0a55a8cb5333b7fdbb29273ca364102c7a7f743e.tar.gz
tk-0a55a8cb5333b7fdbb29273ca364102c7a7f743e.tar.bz2
Fix [bc62f78191]: compilation issues on macOS when targeting older OS versions.
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r--macosx/tkMacOSXDraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c
index aabe103..19dc9c7 100644
--- a/macosx/tkMacOSXDraw.c
+++ b/macosx/tkMacOSXDraw.c
@@ -17,7 +17,7 @@
#include "tkMacOSXDebug.h"
#include "tkButton.h"
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= 101000
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
#define GET_CGCONTEXT [[NSGraphicsContext currentContext] CGContext]
#else
#define GET_CGCONTEXT [[NSGraphicsContext currentContext] graphicsPort]