summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-04 15:32:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-04 15:32:17 (GMT)
commit29be47f4511520e0e8efac664661d17195c8fea1 (patch)
tree5a04716bef3e6f774a44471d082b0aa937f44cbf /generic/tclZlib.c
parent58bf5b79b7e9fa16903e3796a77e212afee94d31 (diff)
parentc47a86166324a3e2efe9359c431bb93f7519847c (diff)
downloadtcl-29be47f4511520e0e8efac664661d17195c8fea1.zip
tcl-29be47f4511520e0e8efac664661d17195c8fea1.tar.gz
tcl-29be47f4511520e0e8efac664661d17195c8fea1.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclZlib.c')
-rw-r--r--generic/tclZlib.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c
index ea6a1f2..05f13b5 100644
--- a/generic/tclZlib.c
+++ b/generic/tclZlib.c
@@ -3957,7 +3957,10 @@ TclZlibInit(
* Formally provide the package as a Tcl built-in.
*/
- return Tcl_PkgProvide(interp, "zlib", TCL_ZLIB_VERSION);
+#ifndef TCL_NO_DEPRECATED
+ Tcl_PkgProvide(interp, "zlib", TCL_ZLIB_VERSION);
+#endif
+ return Tcl_PkgProvide(interp, "tcl::zlib", TCL_ZLIB_VERSION);
}
/*