summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXXStubs.c
diff options
context:
space:
mode:
authorculler <culler>2017-11-09 03:37:46 (GMT)
committerculler <culler>2017-11-09 03:37:46 (GMT)
commit6b0ff4b181b7cca5c965201e71f929d0086f2f67 (patch)
treede23a01acefac4dba17170f08c210bcb0da20053 /macosx/tkMacOSXXStubs.c
parent4ae7f131228753fdb0df4c4ff42143210b1a41a8 (diff)
downloadtk-6b0ff4b181b7cca5c965201e71f929d0086f2f67.zip
tk-6b0ff4b181b7cca5c965201e71f929d0086f2f67.tar.gz
tk-6b0ff4b181b7cca5c965201e71f929d0086f2f67.tar.bz2
Minor changes to deal with compiler warnings for different OSX
versions. Now builds cleanly with deployment targets 10.6 - 10.13.
Diffstat (limited to 'macosx/tkMacOSXXStubs.c')
-rw-r--r--macosx/tkMacOSXXStubs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXXStubs.c b/macosx/tkMacOSXXStubs.c
index 4197266..c7ff58d 100644
--- a/macosx/tkMacOSXXStubs.c
+++ b/macosx/tkMacOSXXStubs.c
@@ -175,7 +175,7 @@ TkpOpenDisplay(
{
int major, minor, patch;
-#if MAC_OS_X_VERSION_MIN_REQUIRED < 10100
+#if MAC_OS_X_VERSION_MIN_REQUIRED < 1080
Gestalt(gestaltSystemVersionMajor, (SInt32*)&major);
Gestalt(gestaltSystemVersionMinor, (SInt32*)&minor);
Gestalt(gestaltSystemVersionBugFix, (SInt32*)&patch);