diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2019-11-26 13:19:03 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2019-11-26 15:17:50 +0000 |
commit | 107babf6d3652ed9bcf26b20823ac935ba86634b (patch) | |
tree | 6aaebee69bbe1b57a515692f6fe1b9c182fd1f78 /expat/xmlwf/xmltchar.h | |
parent | f25387684b5df27653e7f89a67e04d6151b92d02 (diff) | |
download | ghostpdl-107babf6d3652ed9bcf26b20823ac935ba86634b.tar.gz |
Update expat to 2.2.9
And small makefile tweak to support it.
Diffstat (limited to 'expat/xmlwf/xmltchar.h')
-rw-r--r-- | expat/xmlwf/xmltchar.h | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/expat/xmlwf/xmltchar.h b/expat/xmlwf/xmltchar.h index cdfaea795..d7e7b411b 100644 --- a/expat/xmlwf/xmltchar.h +++ b/expat/xmlwf/xmltchar.h @@ -34,41 +34,41 @@ #include "expat_external.h" #ifdef XML_UNICODE -# ifndef XML_UNICODE_WCHAR_T -# error xmlwf requires a 16-bit Unicode-compatible wchar_t -# endif -# define _PREPEND_BIG_L(x) L ## x -# define T(x) _PREPEND_BIG_L(x) -# define ftprintf fwprintf -# define tfopen _wfopen -# define fputts fputws -# define puttc putwc -# define tcscmp wcscmp -# define tcscpy wcscpy -# define tcscat wcscat -# define tcschr wcschr -# define tcsrchr wcsrchr -# define tcslen wcslen -# define tperror _wperror -# define topen _wopen -# define tmain wmain -# define tremove _wremove -# define tchar wchar_t +# ifndef XML_UNICODE_WCHAR_T +# error xmlwf requires a 16-bit Unicode-compatible wchar_t +# endif +# define _PREPEND_BIG_L(x) L##x +# define T(x) _PREPEND_BIG_L(x) +# define ftprintf fwprintf +# define tfopen _wfopen +# define fputts fputws +# define puttc putwc +# define tcscmp wcscmp +# define tcscpy wcscpy +# define tcscat wcscat +# define tcschr wcschr +# define tcsrchr wcsrchr +# define tcslen wcslen +# define tperror _wperror +# define topen _wopen +# define tmain wmain +# define tremove _wremove +# define tchar wchar_t #else /* not XML_UNICODE */ -# define T(x) x -# define ftprintf fprintf -# define tfopen fopen -# define fputts fputs -# define puttc putc -# define tcscmp strcmp -# define tcscpy strcpy -# define tcscat strcat -# define tcschr strchr -# define tcsrchr strrchr -# define tcslen strlen -# define tperror perror -# define topen open -# define tmain main -# define tremove remove -# define tchar char +# define T(x) x +# define ftprintf fprintf +# define tfopen fopen +# define fputts fputs +# define puttc putc +# define tcscmp strcmp +# define tcscpy strcpy +# define tcscat strcat +# define tcschr strchr +# define tcsrchr strrchr +# define tcslen strlen +# define tperror perror +# define topen open +# define tmain main +# define tremove remove +# define tchar char #endif /* not XML_UNICODE */ |