summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-10 15:47:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-10 15:47:34 (GMT)
commit07c6dc0d49850424e34bb1666203ac8f0c5b210a (patch)
treef3028f3e1c36e5a43a02e4a53a04e289f49d0fee /generic/tclInt.h
parent764ef9b409175a603666871249e5991dcb7cbd50 (diff)
parent0834bb45471baf76fe11345ac6893304cd971420 (diff)
downloadtcl-07c6dc0d49850424e34bb1666203ac8f0c5b210a.zip
tcl-07c6dc0d49850424e34bb1666203ac8f0c5b210a.tar.gz
tcl-07c6dc0d49850424e34bb1666203ac8f0c5b210a.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index cc4f6a9..05514bf 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -4737,7 +4737,7 @@ MODULE_SCOPE int TclIsPureByteArray(Tcl_Obj *objPtr);
*----------------------------------------------------------------
*/
-#ifdef WORDS_BIGENDIAN
+#if defined(WORDS_BIGENDIAN) && (TCL_UTF_MAX > 3)
# define TclUniCharNcmp(cs,ct,n) memcmp((cs),(ct),(n)*sizeof(Tcl_UniChar))
#else /* !WORDS_BIGENDIAN */
# define TclUniCharNcmp Tcl_UniCharNcmp