diff options
author | culler <culler> | 2017-11-09 03:37:46 (GMT) |
---|---|---|
committer | culler <culler> | 2017-11-09 03:37:46 (GMT) |
commit | 6b0ff4b181b7cca5c965201e71f929d0086f2f67 (patch) | |
tree | de23a01acefac4dba17170f08c210bcb0da20053 /macosx/tkMacOSXXStubs.c | |
parent | 4ae7f131228753fdb0df4c4ff42143210b1a41a8 (diff) | |
download | tk-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.c | 2 |
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); |