From b2ec2f83c5bf252762e951efad8037642d85c9c1 Mon Sep 17 00:00:00 2001 From: "bstell%netscape.com" Date: Wed, 19 Sep 2001 02:49:05 +0000 Subject: [PATCH] bug 95518, r=yokoyama@netscape.com,r=Roland.Mainz@informatik.med.uni-giessen.de, sr=brendan@mozilla.org, Define the size of a PRUint32 char map, aka: 8K char map --- intl/uconv/public/nsICharRepresentable.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/intl/uconv/public/nsICharRepresentable.h b/intl/uconv/public/nsICharRepresentable.h index 6d0b04715b7..9623c3f8299 100644 --- a/intl/uconv/public/nsICharRepresentable.h +++ b/intl/uconv/public/nsICharRepresentable.h @@ -39,6 +39,9 @@ #define SET_REPRESENTABLE(info, c) (info)[(c) >> 5] |= (1L << ((c) & 0x1f)) #define CLEAR_REPRESENTABLE(info, c) (info)[(c) >> 5] &= (~(1L << ((c) & 0x1f))) +// number of PRUint32 in the 64Kbit char map +#define UCS2_MAP_LEN 2048 + /** */ class nsICharRepresentable : public nsISupports