Nikolay Sivov (@nsivov) commented about dlls/xmllite/writer.c:
return m_alloc(writer->imalloc, len);
}
+static BOOL is_high_surrogate(WCHAR ch) +{
- return ch >= 0xd800 && ch <= 0xdbff;
+}
+static BOOL is_low_surrogate(WCHAR ch) +{
- return ch >= 0xdc00 && ch <= 0xdfff;
+}
There is an option to use some macros for this, from winnls.h.