зеркало из https://github.com/mozilla/pjs.git
Fix for bug 5447. Check for #define XML_UNICODE_WCHAR_T before using the data type wchar_t.
This commit is contained in:
Родитель
4c897fba05
Коммит
ff3942fd19
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче