ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/vendor/expat/2.1.0/xmlwf/xmltchar.h
Revision: 8865
Committed: Mon Sep 26 13:11:37 2016 UTC (7 years, 7 months ago) by laffer1
Content type: text/plain
File size: 825 byte(s)
Log Message:
expat 2.1.0

File Contents

# Content
1 #ifdef XML_UNICODE
2 #ifndef XML_UNICODE_WCHAR_T
3 #error xmlwf requires a 16-bit Unicode-compatible wchar_t
4 #endif
5 #define T(x) L ## x
6 #define ftprintf fwprintf
7 #define tfopen _wfopen
8 #define fputts fputws
9 #define puttc putwc
10 #define tcscmp wcscmp
11 #define tcscpy wcscpy
12 #define tcscat wcscat
13 #define tcschr wcschr
14 #define tcsrchr wcsrchr
15 #define tcslen wcslen
16 #define tperror _wperror
17 #define topen _wopen
18 #define tmain wmain
19 #define tremove _wremove
20 #else /* not XML_UNICODE */
21 #define T(x) x
22 #define ftprintf fprintf
23 #define tfopen fopen
24 #define fputts fputs
25 #define puttc putc
26 #define tcscmp strcmp
27 #define tcscpy strcpy
28 #define tcscat strcat
29 #define tcschr strchr
30 #define tcsrchr strrchr
31 #define tcslen strlen
32 #define tperror perror
33 #define topen open
34 #define tmain main
35 #define tremove remove
36 #endif /* not XML_UNICODE */