summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-06-28 12:34:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-06-28 12:34:43 (GMT)
commitafa0f7421bb00ea52020c1118c980b7045a38ddc (patch)
tree948488b4c629888913a8d451aa63825592315cb1 /generic
parentcbb66412ca40047eab4b424f4f86150f71b622d9 (diff)
parent25a30f2db04d9d60b0279cbeab73acaeb42aa1ca (diff)
downloadtcl-afa0f7421bb00ea52020c1118c980b7045a38ddc.zip
tcl-afa0f7421bb00ea52020c1118c980b7045a38ddc.tar.gz
tcl-afa0f7421bb00ea52020c1118c980b7045a38ddc.tar.bz2
Merge 8.7
Diffstat (limited to 'generic')
-rw-r--r--generic/tclLoad.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclLoad.c b/generic/tclLoad.c
index ed2be03..7ea1ebd 100644
--- a/generic/tclLoad.c
+++ b/generic/tclLoad.c
@@ -344,7 +344,11 @@ Tcl_LoadObjCmd(
pkgGuess += 3;
}
#endif /* __CYGWIN__ */
- if ((pkgGuess[0] == 't') && (pkgGuess[1] == 'c')
+ if (((pkgGuess[0] == 't')
+#ifdef MAC_OSX_TCL
+ || (pkgGuess[0] == 'T')
+#endif
+ ) && (pkgGuess[1] == 'c')
&& (pkgGuess[2] == 'l')) {
pkgGuess += 3;
}