~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/expat/xmlwf/xmltchar.h

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
 
3
See the file COPYING for copying permission.
 
4
*/
 
5
 
 
6
#ifdef XML_UNICODE
 
7
#ifndef XML_UNICODE_WCHAR_T
 
8
#error xmlwf requires a 16-bit Unicode-compatible wchar_t 
 
9
#endif
 
10
#define T(x) L ## x
 
11
#define ftprintf fwprintf
 
12
#define tfopen _wfopen
 
13
#define fputts fputws
 
14
#define puttc putwc
 
15
#define tcscmp wcscmp
 
16
#define tcscpy wcscpy
 
17
#define tcscat wcscat
 
18
#define tcschr wcschr
 
19
#define tcsrchr wcsrchr
 
20
#define tcslen wcslen
 
21
#define tperror _wperror
 
22
#define topen _wopen
 
23
#define tmain wmain
 
24
#define tremove _wremove
 
25
#else /* not XML_UNICODE */
 
26
#define T(x) x
 
27
#define ftprintf fprintf
 
28
#define tfopen fopen
 
29
#define fputts fputs
 
30
#define puttc putc
 
31
#define tcscmp strcmp
 
32
#define tcscpy strcpy
 
33
#define tcscat strcat
 
34
#define tcschr strchr
 
35
#define tcsrchr strrchr
 
36
#define tcslen strlen
 
37
#define tperror perror
 
38
#define topen open
 
39
#define tmain main
 
40
#define tremove remove
 
41
#endif /* not XML_UNICODE */