Fix for bug 5447. Check for #define XML_UNICODE_WCHAR_T before using the data type wchar_t.

This commit is contained in:
nisheeth%netscape.com 1999-04-24 08:33:34 +00:00
parent b985623df2
commit b20392f14f
2 changed files with 8 additions and 0 deletions

View File

@ -22,8 +22,12 @@ Contributor(s):
#include <stddef.h>
#ifdef XML_UNICODE
#ifdef XML_UNICODE_WCHAR_T
typedef const wchar_t *KEY;
#else
typedef const unsigned short *KEY;
#endif
#else
typedef const char *KEY;
#endif

View File

@ -22,8 +22,12 @@ Contributor(s):
#include <stddef.h>
#ifdef XML_UNICODE
#ifdef XML_UNICODE_WCHAR_T
typedef const wchar_t *KEY;
#else
typedef const unsigned short *KEY;
#endif
#else
typedef const char *KEY;
#endif