]> granicus.if.org Git - libexpat/commitdiff
Fix from Nisheeth
authorJames Clark <jjc@jclark.com>
Sun, 25 Apr 1999 03:18:11 +0000 (03:18 +0000)
committerJames Clark <jjc@jclark.com>
Sun, 25 Apr 1999 03:18:11 +0000 (03:18 +0000)
expat/xmlparse/hashtable.h

index d10e591c7ff81a08b65dcc63c36f4417099d0c07..02da97e038a91545be3528a5a94e6ee7e83196e6 100755 (executable)
@@ -22,10 +22,18 @@ Contributor(s):
 #include <stddef.h>
 
 #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;