summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-22 08:32:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-22 08:32:10 (GMT)
commit133af7524b7bdfc62eb504a932faef09a0ae03e9 (patch)
treeb390e58f8a2de155a3ad9772da177165e60a0adc /generic/tcl.h
parent0fcb3ce5dcddcc07e9c3f294dc146a4442e9efbb (diff)
downloadtcl-133af7524b7bdfc62eb504a932faef09a0ae03e9.zip
tcl-133af7524b7bdfc62eb504a932faef09a0ae03e9.tar.gz
tcl-133af7524b7bdfc62eb504a932faef09a0ae03e9.tar.bz2
Since TCL_ENCODING_PROFILE_DEFAULT == TCL_ENCODING_PROFILE_TCL8 (on Tcl 8), we can simplify.
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index e66607b..4da5f43 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -2149,12 +2149,7 @@ typedef struct Tcl_EncodingType {
(flags_) &= ~TCL_ENCODING_PROFILE_MASK; \
(flags_) |= profile_; \
} while (0)
-/* Still being argued - For Tcl9, is the default strict? TODO */
-#if TCL_MAJOR_VERSION < 9
#define TCL_ENCODING_PROFILE_DEFAULT TCL_ENCODING_PROFILE_TCL8
-#else
-#define TCL_ENCODING_PROFILE_DEFAULT TCL_ENCODING_PROFILE_TCL8 /* STRICT? REPLACE? TODO */
-#endif
/*
* The following definitions are the error codes returned by the conversion