Add wrapper macro to give string literals the right type for XML_Char*
#define xcstrlen(s) wcslen(s)
#define xcstrcmp(s, t) wcscmp((s), (t))
#define xcstrncmp(s, t, n) wcsncmp((s), (t), (n))
+#define XCS(s) _XCS(s)
+#define _XCS(s) L ## s
#else
#ifdef XML_UNICODE
#error "No support for UTF-16 character without wchar_t in tests"
#define xcstrlen(s) strlen(s)
#define xcstrcmp(s, t) strcmp((s), (t))
#define xcstrncmp(s, t, n) strncmp((s), (t), (n))
+#define XCS(s) s
#endif /* XML_UNICODE */
#endif /* XML_UNICODE_WCHAR_T */
