FreeRDP
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Functions
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Functions
a
c
d
e
f
g
i
o
r
s
t
Variables
a
b
c
d
e
g
i
l
m
n
o
p
r
s
t
u
v
Files
File List
Globals
All
Typedefs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Modules
Pages
Loading...
Searching...
No Matches
tchar.h
1
20
#ifndef WINPR_TCHAR_H
21
#define WINPR_TCHAR_H
22
23
#include <winpr/crt.h>
24
#include <winpr/wtypes.h>
25
26
#ifdef _WIN32
27
28
#include <tchar.h>
29
30
#else
31
32
#ifdef UNICODE
33
typedef
WCHAR TCHAR;
34
#else
35
typedef
CHAR TCHAR;
36
#endif
37
38
#ifdef UNICODE
39
#define _tprintf wprintf
40
#define _sntprintf snwprintf
41
#define _tcslen _wcslen
42
#define _tcsnlen _wcsnlen
43
#define _tcsdup _wcsdup
44
#define _tcscmp wcscmp
45
#define _tcsncmp wcsncmp
46
#define _tcscpy wcscpy
47
#define _tcsncpy wcsncpy
48
#define _tcscat wcscat
49
#define _tcschr wcschr
50
#define _tcsrchr wcsrchr
51
#define _tcsstr wcsstr
52
#define _stprintf_s swprintf_s
53
#define _tcsnccmp wcsncmp
54
#else
55
#define _tprintf printf
56
#define _sntprintf snprintf
57
#define _tcslen strlen
58
#define _tcsnlen strnlen
59
#define _tcsdup _strdup
60
#define _tcscmp strcmp
61
#define _tcsncmp strncmp
62
#define _tcscpy strcpy
63
#define _tcsncpy strncpy
64
#define _tcscat strcat
65
#define _tcschr strchr
66
#define _tcsrchr strrchr
67
#define _tcsstr strstr
68
#define _stprintf_s sprintf_s
69
#define _tcsnccmp strncmp
70
#endif
71
72
#endif
73
74
#endif
/* WINPR_TCHAR_H */
winpr
include
winpr
tchar.h
Generated by
1.9.8