diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-22 08:32:10 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-22 08:32:10 (GMT) |
commit | 133af7524b7bdfc62eb504a932faef09a0ae03e9 (patch) | |
tree | b390e58f8a2de155a3ad9772da177165e60a0adc /generic/tcl.h | |
parent | 0fcb3ce5dcddcc07e9c3f294dc146a4442e9efbb (diff) | |
download | tcl-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.h | 5 |
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 |