summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXInit.c
diff options
context:
space:
mode:
authorculler <culler>2018-10-28 18:40:50 (GMT)
committerculler <culler>2018-10-28 18:40:50 (GMT)
commite0fc18fd888c1c70c8e6152ed3d15d2679daf1ab (patch)
tree491f69b3beaab4d9e94989d18c3baef164ee32d2 /macosx/tkMacOSXInit.c
parent1c1dcadba2966af04e6bb238925a1981245182d1 (diff)
downloadtk-e0fc18fd888c1c70c8e6152ed3d15d2679daf1ab.zip
tk-e0fc18fd888c1c70c8e6152ed3d15d2679daf1ab.tar.gz
tk-e0fc18fd888c1c70c8e6152ed3d15d2679daf1ab.tar.bz2
Adjust some conditional compilation cutoffs to make the build work on OSX 10.9 (Mavericks)
Diffstat (limited to 'macosx/tkMacOSXInit.c')
-rw-r--r--macosx/tkMacOSXInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c
index b85b66d..10ef87e 100644
--- a/macosx/tkMacOSXInit.c
+++ b/macosx/tkMacOSXInit.c
@@ -155,7 +155,7 @@ static char scriptPath[PATH_MAX + 1] = "";
* Record the OS version we are running on.
*/
int minorVersion;
-#if MAC_OS_X_VERSION_MIN_REQUIRED < 1080
+#if MAC_OS_X_VERSION_MIN_REQUIRED < 101000
Gestalt(gestaltSystemVersionMinor, (SInt32*)&minorVersion);
#else
NSOperatingSystemVersion systemVersion;