~ubuntu-dev/ubuntu/lucid/expat/lucid-201002101922

« back to all changes in this revision

Viewing changes to xmlwf/xmltchar.h

  • Committer: Bazaar Package Importer
  • Author(s): Ardo van Rangelrooij
  • Date: 2001-12-09 12:19:40 UTC
  • Revision ID: james.westby@ubuntu.com-20011209121940-zu64acbvutfed4hh
Tags: upstream-1.95.2
ImportĀ upstreamĀ versionĀ 1.95.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 */