From 9087fd768f02059d30d560321c4df3627b2be918 Mon Sep 17 00:00:00 2001 From: "shaver%netscape.com" Date: Thu, 22 Apr 1999 20:51:47 +0000 Subject: [PATCH] XML_UNICODE_WCHAR_T is not suitable for use where sizeof(wchar_t) != 2. That includes Linux at least, so let's just not do this on Unix at all for now. a=donm --- expat/xmltok/xmldef.h | 4 +++- parser/expat/lib/xmldef.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/expat/xmltok/xmldef.h b/expat/xmltok/xmldef.h index 253bf63b07f..59a85f0f74a 100644 --- a/expat/xmltok/xmldef.h +++ b/expat/xmltok/xmldef.h @@ -53,5 +53,7 @@ particular environments. */ #endif /* MOZILLA */ // Enable Unicode string processing in expat +#ifndef XP_UNIX #define XML_UNICODE_WCHAR_T -#define XML_UNICODE \ No newline at end of file +#endif +#define XML_UNICODE diff --git a/parser/expat/lib/xmldef.h b/parser/expat/lib/xmldef.h index 253bf63b07f..59a85f0f74a 100644 --- a/parser/expat/lib/xmldef.h +++ b/parser/expat/lib/xmldef.h @@ -53,5 +53,7 @@ particular environments. */ #endif /* MOZILLA */ // Enable Unicode string processing in expat +#ifndef XP_UNIX #define XML_UNICODE_WCHAR_T -#define XML_UNICODE \ No newline at end of file +#endif +#define XML_UNICODE