From 31facc7d202a8651222b9f1154d0f1ddf73e1c0a Mon Sep 17 00:00:00 2001 From: James Clark Date: Sun, 25 Apr 1999 03:18:11 +0000 Subject: [PATCH] Fix from Nisheeth --- expat/xmlparse/hashtable.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/expat/xmlparse/hashtable.h b/expat/xmlparse/hashtable.h index d10e591c..02da97e0 100755 --- a/expat/xmlparse/hashtable.h +++ b/expat/xmlparse/hashtable.h @@ -22,10 +22,18 @@ Contributor(s): #include #ifdef XML_UNICODE + +#ifdef XML_UNICODE_WCHAR_T typedef const wchar_t *KEY; -#else +#else /* not XML_UNICODE_WCHAR_T */ +typedef const unsigned short *KEY; +#endif /* not XML_UNICODE_WCHAR_T */ + +#else /* not XML_UNICODE */ + typedef const char *KEY; -#endif + +#endif /* not XML_UNICODE */ typedef struct { KEY name;