summaryrefslogtreecommitdiffstats
path: root/generic/tclObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-01 19:42:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-01 19:42:53 (GMT)
commit190852002f644f02a6e13c6a7c9017c3f21e1003 (patch)
treebed7c42f0cd850e442f6cc56d59c3b6b5efe258a /generic/tclObj.c
parent6c4b78cfa8c06ea5963591778902da74850d1985 (diff)
downloadtcl-190852002f644f02a6e13c6a7c9017c3f21e1003.zip
tcl-190852002f644f02a6e13c6a7c9017c3f21e1003.tar.gz
tcl-190852002f644f02a6e13c6a7c9017c3f21e1003.tar.bz2
Remove internal use of TCL_UTF_MAX=3 as much as possible, without compromizing existing TIP's
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r--generic/tclObj.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index 933138c..a711147 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -387,10 +387,8 @@ TclInitObjSubsystem(void)
Tcl_RegisterObjType(&tclByteArrayType);
Tcl_RegisterObjType(&tclDoubleType);
-#if (TCL_UTF_MAX < 4) || !defined(TCL_NO_DEPRECATED)
+#if !defined(TCL_NO_DEPRECATED)
Tcl_RegisterObjType(&tclStringType);
-#endif
-#if (TCL_UTF_MAX > 3) && !defined(TCL_NO_DEPRECATED)
/* Only registered for 8.7, not for 9.0 any more.
* See [https://core.tcl-lang.org/tk/tktview/6b49149b4e] */
Tcl_RegisterObjType(&tclUniCharStringType);