diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-09-16 13:09:11 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-09-16 13:09:11 (GMT) |
commit | 5607dedaa88b132947328b366d78dc0f79cdd5f6 (patch) | |
tree | 984b9bafb72ed42c264226830781c12686ef9af7 /generic/regcustom.h | |
parent | b70ab023a4e2ec3bfb8ebccf59b92519d5a5dbba (diff) | |
parent | 25135fefaea603aa1f4bd521329b9a254ee76fed (diff) | |
download | tcl-5607dedaa88b132947328b366d78dc0f79cdd5f6.zip tcl-5607dedaa88b132947328b366d78dc0f79cdd5f6.tar.gz tcl-5607dedaa88b132947328b366d78dc0f79cdd5f6.tar.bz2 |
Don't change Tcl_UniChar type when TCL_UTF_MAX == 4 (not supported anyway)
Diffstat (limited to 'generic/regcustom.h')
-rw-r--r-- | generic/regcustom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/regcustom.h b/generic/regcustom.h index ac33087..57a2d47 100644 --- a/generic/regcustom.h +++ b/generic/regcustom.h @@ -97,7 +97,7 @@ typedef int celt; /* Type to hold chr, or NOCELT */ #define NOCELT (-1) /* Celt value which is not valid chr */ #define CHR(c) (UCHAR(c)) /* Turn char literal into chr literal */ #define DIGITVAL(c) ((c)-'0') /* Turn chr digit into its value */ -#if TCL_UTF_MAX > 3 +#if TCL_UTF_MAX > 4 #define CHRBITS 32 /* Bits in a chr; must not use sizeof */ #define CHR_MIN 0x00000000 /* Smallest and largest chr; the value */ #define CHR_MAX 0xffffffff /* CHR_MAX-CHR_MIN+1 should fit in uchr */ |