summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-09-12 13:59:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-09-12 13:59:43 (GMT)
commit4e52068463e3e9fb3e0ba7fd9daa0b52a9858d49 (patch)
tree2802ad1e29fb3c7929d1dfc3ecee6de6eee0b9e2 /generic/tcl.h
parent1c2fa3d1750a82abd5a55686317a23090cf1fbea (diff)
parenta941263ec7148380c0ebc01e14a6f8f99db6aa1d (diff)
downloadtcl-4e52068463e3e9fb3e0ba7fd9daa0b52a9858d49.zip
tcl-4e52068463e3e9fb3e0ba7fd9daa0b52a9858d49.tar.gz
tcl-4e52068463e3e9fb3e0ba7fd9daa0b52a9858d49.tar.bz2
Rebase to 9.0
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 1f8c32b..b710e45 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -2035,14 +2035,9 @@ typedef struct Tcl_EncodingType {
* changes, ensure ENCODING_PROFILE_* macros in tclInt.h are modified if
* necessary.
*/
+#define TCL_ENCODING_PROFILE_STRICT TCL_ENCODING_STOPONERROR
#define TCL_ENCODING_PROFILE_TCL8 0x01000000
-#define TCL_ENCODING_PROFILE_STRICT 0x02000000
-#define TCL_ENCODING_PROFILE_REPLACE 0x03000000
-#if TCL_MAJOR_VERSION < 9
-#define TCL_ENCODING_PROFILE_DEFAULT TCL_ENCODING_PROFILE_TCL8
-#else
-#define TCL_ENCODING_PROFILE_DEFAULT TCL_ENCODING_PROFILE_TCL8
-#endif
+#define TCL_ENCODING_PROFILE_REPLACE 0x02000000
/*
* The following definitions are the error codes returned by the conversion