mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Fix for bug 5447. Check for #define XML_UNICODE_WCHAR_T before using the data type wchar_t.
This commit is contained in:
parent
b985623df2
commit
b20392f14f
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user