summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclLoad.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclLoad.c b/generic/tclLoad.c
index b565eba..64f03a7 100644
--- a/generic/tclLoad.c
+++ b/generic/tclLoad.c
@@ -325,7 +325,11 @@ Tcl_LoadObjCmd(
pkgGuess += 3;
}
#endif /* __CYGWIN__ */
- if ((pkgGuess[0] == 't') && (pkgGuess[1] == 'c')
+ if (((pkgGuess[0] == 't')
+#ifdef MAC_OS_TCL
+ || (pkgGuess[0] == 'T')
+#endif
+ ) && (pkgGuess[1] == 'c')
&& (pkgGuess[2] == 'l') && (pkgGuess[3] == '9')) {
pkgGuess += 4;
}