From 31bdf3025b27e8204a9d4077f947fd54175d0e3b Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Wed, 4 Oct 2017 21:28:32 +0200 Subject: [PATCH] xmlwf/xmltchar.h: Make T(..) support T(XML_FMT_INT_MOD) --- expat/xmlwf/xmltchar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/expat/xmlwf/xmltchar.h b/expat/xmlwf/xmltchar.h index a7adb358..cdfaea79 100644 --- a/expat/xmlwf/xmltchar.h +++ b/expat/xmlwf/xmltchar.h @@ -37,7 +37,8 @@ # ifndef XML_UNICODE_WCHAR_T # error xmlwf requires a 16-bit Unicode-compatible wchar_t # endif -# define T(x) L ## x +# define _PREPEND_BIG_L(x) L ## x +# define T(x) _PREPEND_BIG_L(x) # define ftprintf fwprintf # define tfopen _wfopen # define fputts fputws