26
#include <cassert> // (assert.h)
27
#include <cctype> // (ctype.h)
28
#include <cerrno> // (errno.h)
29
#include <cfloat> // (float.h)
30
#include <ciso646> // (iso646.h)
31
#include <climits> // (limits.h)
32
#include <clocale> // (locale.h)
33
#include <cmath> // (math.h)
34
//#include <csetjmp> // (setjmp.h) conflicts with libpng on linux.
35
#include <csignal> // (signal.h)
36
#include <cstdarg> // (stdarg.h)
37
#include <cstddef> // (stddef.h)
38
#include <cstdio> // (stdio.h)
39
#include <cstdlib> // (stdlib.h)
40
#include <cstring> // (string.h)
41
#include <ctime> // (time.h)
42
#include <cwchar> // (wchar.h)
43
#include <cwctype> // (wctype.h)
48
#include <sys/types.h>
50
#include <sys/syscall.h>
59
// If INL_LOG_FILE_ANSI is set to 1, log files will be written in ASCII characters even when in UNICODE.
60
#define INL_LOG_FILE_ANSI 1
63
#define INL_VARARGS __cdecl // Functions with variable arguments
66
// This is the default calling convention for C and C++ programs.
67
// Because the stack is cleaned up by the caller, it can do vararg functions.
68
// Argument-passing order: Right to left
69
#define INL_CDECL __cdecl
70
// The __stdcall calling convention is used to call Win32 API functions.
71
// The callee cleans the stack, so the compiler makes vararg functions __cdecl.
72
// Argument-passing order: Right to left
73
#define INL_STDCALL __stdcall
74
// The __fastcall calling convention specifies that arguments to functions are to be passed in registers, when possible.
75
#define INL_FASTCALL __fastcall
76
// This is the default calling convention used by C++ member functions that do not use variable arguments.
77
// Under thiscall, the callee cleans the stack, which is impossible for vararg functions.
78
#define INL_THISCALL thiscall //
80
#define INL_INLINE inline // Force inline code
81
#define INL_FORCEINLINE inline //__attribute__ ((__always_inline)) // Force inline code
82
#define INL_FORCENOINLINE __attribute__ ((noinline)) // Force code to NOT be inline
85
// Unsigned base types.
86
typedef unsigned char BYTE; // 8-bit unsigned.
87
typedef unsigned short WORD; // 16-bit unsigned.
88
typedef unsigned int UINT; // 32-bit unsigned.
89
typedef unsigned long DWORD; // 32-bit unsigned.
90
typedef uint64_t QWORD; // 64-bit unsigned.
93
typedef signed char SBYTE; // 8-bit signed.
94
typedef signed short SWORD; // 16-bit signed.
95
typedef signed int INT; // 32-bit signed.
96
typedef int64_t SQWORD; // 64-bit signed.
100
typedef char ANSICHAR; // An ANSI character.
101
typedef unsigned char ANSIUCHAR; // An ANSI character.
102
typedef wchar_t UNICHAR; // A unicode character.
105
typedef unsigned char BOOL; // Boolean 0 (false) or 1 (true).
106
typedef long UBOOL; // Boolean 0 (false) or 1 (true).
107
typedef float FLOAT; // 32-bit IEEE floating point.
108
typedef double DOUBLE; // 64-bit IEEE double.
109
typedef unsigned long SIZE_T; // Corresponds to C SIZE_T.
111
///////////////////////////////////////////////
113
///////////////////////////////////////////////
115
typedef UNICHAR TCHAR;
119
typedef ANSICHAR TCHAR;
126
#define WINE_tchar_true(a) (1)
127
#define WINE_tchar_false(a) (0)
128
#define WINE_tchar_tclen(a) (1)
129
#define WINE_tchar_tccpy(a,b) do { *(a)=*(b); } while (0)
131
#define WINE_tchar_true(a) (1)
132
#define WINE_tchar_false(a) (0)
133
#define WINE_tchar_tclen(a) (1)
134
#define WINE_tchar_tccpy(a,b) do { *(a)=*(b); } while (0)
139
#define INL_TCHAR_ROUTINE(ansi, mbcs, unicode) ansi
141
#define INL_TCHAR_ROUTINE(ansi, mbcs, unicode) mbcs
144
#define INL_TCHAR_ROUTINE(ansi, mbcs, unicode) unicode
148
#define INL_UNIX_SYS_HOST_ROOT TEXT("/")
149
#define INL_UNIX_SYS_HOME TEXT("/home")
151
///////////////////////////////////////////////
152
#define __targv INL_TCHAR_ROUTINE(__argv, __argv, __wargv)
153
#define _fgettc INL_TCHAR_ROUTINE(fgetc, fgetc, fgetwc)
154
#define _fgettchar INL_TCHAR_ROUTINE(fgetchar, fgetchar, _fgetwchar)
155
#define _fgetts INL_TCHAR_ROUTINE(fgets, fgets, fgetws)
156
#define _fputtc INL_TCHAR_ROUTINE(fputc, fputc, fputwc)
157
#define _fputtchar INL_TCHAR_ROUTINE(fputchar, fputchar, _fputwchar)
158
#define _fputts INL_TCHAR_ROUTINE(fputs, fputs, fputws)
159
#define _ftprintf INL_TCHAR_ROUTINE(fprintf, fprintf, fwprintf)
160
#define _ftscanf INL_TCHAR_ROUTINE(fscanf, fscanf, fwscanf)
161
#define _gettc INL_TCHAR_ROUTINE(getc, getc, getwc)
162
#define _gettchar INL_TCHAR_ROUTINE(getchar, getchar, getwchar)
163
#define _getts INL_TCHAR_ROUTINE(gets, gets, getws)
164
#define _isalnum INL_TCHAR_ROUTINE(isalnum, _ismbcalnum, iswalnum)
165
#define _istalpha INL_TCHAR_ROUTINE(isalpha, _ismbcalpha, iswalpha)
166
#define _istascii INL_TCHAR_ROUTINE(isascii, __isascii, iswascii)
167
#define _istcntrl INL_TCHAR_ROUTINE(iscntrl, iscntrl, iswcntrl)
168
#define _istdigit INL_TCHAR_ROUTINE(isdigit, _ismbcdigit, iswdigit)
169
#define _istgraph INL_TCHAR_ROUTINE(isgraph, _ismbcgraph, iswgraph)
170
#define _istlead INL_TCHAR_ROUTINE(WINE_tchar_false,_ismbblead, WINE_tchar_false)
171
#define _istleadbyte INL_TCHAR_ROUTINE(WINE_tchar_false,isleadbyte, WINE_tchar_false)
172
#define _istlegal INL_TCHAR_ROUTINE(WINE_tchar_true, _ismbclegal, WINE_tchar_true)
173
#define _istlower INL_TCHAR_ROUTINE(islower, _ismbcslower,iswlower)
174
#define _istprint INL_TCHAR_ROUTINE(isprint, _ismbcprint, iswprint)
175
#define _istpunct INL_TCHAR_ROUTINE(ispunct, _ismbcpunct, iswpunct)
176
#define _istspace INL_TCHAR_ROUTINE(isspace, _ismbcspace, iswspace)
177
#define _istupper INL_TCHAR_ROUTINE(isupper, _ismbcupper, iswupper)
178
#define _istxdigit INL_TCHAR_ROUTINE(isxdigit, isxdigit, iswxdigit)
179
#define _itot INL_TCHAR_ROUTINE(_itoa, _itoa, _itow)
180
#define _ltot INL_TCHAR_ROUTINE(_ltoa, _ltoa, _ltow)
181
#define _puttc INL_TCHAR_ROUTINE(putc, putc, putwc)
182
#define _puttchar INL_TCHAR_ROUTINE(putchar, putchar, putwchar)
183
#define _putts INL_TCHAR_ROUTINE(puts, puts, putws)
184
#define _sntprintf INL_TCHAR_ROUTINE(sprintf, sprintf, swprintf)
185
#define _stprintf INL_TCHAR_ROUTINE(sprintf, sprintf, swprintf)
186
#define _stscanf INL_TCHAR_ROUTINE(sscanf, sscanf, swscanf)
187
#define _taccess INL_TCHAR_ROUTINE(access, _access, _waccess)
188
#define _tasctime INL_TCHAR_ROUTINE(asctime, asctime, _wasctime)
189
#define _tccpy INL_TCHAR_ROUTINE(WINE_tchar_tccpy,_mbccpy, WINE_tchar_tccpy)
190
#define _tchdir INL_TCHAR_ROUTINE(chdir, _chdir, _wchdir)
191
#define _tclen INL_TCHAR_ROUTINE(WINE_tchar_tclen,_mbclen, WINE_tchar_tclen)
192
#define _tchmod INL_TCHAR_ROUTINE(chmod, _chmod, _wchmod)
193
#define _tcreat INL_TCHAR_ROUTINE(creat, _creat, _wcreat)
194
#define _tcscat INL_TCHAR_ROUTINE(strcat, _mbscat, wcscat)
195
#define _tcschr INL_TCHAR_ROUTINE(strchr, _mbschr, wcschr)
196
#define _tcsclen INL_TCHAR_ROUTINE(strlen, _mbslen, wcslen)
197
#define _tcscmp INL_TCHAR_ROUTINE(strcmp, _mbscmp, wcscmp)
198
#define _tcscoll INL_TCHAR_ROUTINE(strcoll, _mbscoll, wcscoll)
199
#define _tcscpy INL_TCHAR_ROUTINE(strcpy, _mbscpy, wcscpy)
200
#define _tcscspn INL_TCHAR_ROUTINE(strcspn, _mbscspn, wcscspn)
201
#define _tcsdec INL_TCHAR_ROUTINE(_strdec, _mbsdec, _wcsdec)
202
#define _tcsdup INL_TCHAR_ROUTINE(strdup, _mbsdup, _wcsdup)
203
#define _tcsftime INL_TCHAR_ROUTINE(strftime, strftime, wcsftime)
204
#define _tcsicmp INL_TCHAR_ROUTINE(strcasecmp, _mbsicmp, _wcsicmp)
205
#define _tcsicoll INL_TCHAR_ROUTINE(_stricoll, _stricoll, _wcsicoll)
206
#define _tcsinc INL_TCHAR_ROUTINE(_strinc, _mbsinc, _wcsinc)
207
#define _tcslen INL_TCHAR_ROUTINE(strlen, strlen, wcslen)
208
#define _tcslwr INL_TCHAR_ROUTINE(strlwr, _mbslwr, wcslwr)
209
#define _tcsnbcnt INL_TCHAR_ROUTINE(_strncnt, _mbsnbcnt, _wcnscnt)
210
#define _tcsncat INL_TCHAR_ROUTINE(strncat, _mbsnbcat, wcsncat)
211
#define _tcsnccat INL_TCHAR_ROUTINE(strncat, _mbsncat, wcsncat)
212
#define _tcsncmp INL_TCHAR_ROUTINE(strncmp, _mbsnbcmp, wcsncmp)
213
#define _tcsnccmp INL_TCHAR_ROUTINE(strncmp, _mbsncmp, wcsncmp)
214
#define _tcsnccnt INL_TCHAR_ROUTINE(_strncnt, _mbsnccnt, _wcsncnt)
215
#define _tcsnccpy INL_TCHAR_ROUTINE(strncpy, _mbsncpy, wcsncpy)
216
#define _tcsncicmp INL_TCHAR_ROUTINE(_strnicmp, _mbsnicmp, _wcsnicmp)
217
#define _tcsncpy INL_TCHAR_ROUTINE(strncpy, _mbsnbcpy, wcsncpy)
218
#define _tcsncset INL_TCHAR_ROUTINE(_strnset, _mbsnset, _wcsnset)
219
#define _tcsnextc INL_TCHAR_ROUTINE(_strnextc, _mbsnextc, _wcsnextc)
220
#define _tcsnicmp INL_TCHAR_ROUTINE(_strnicmp, _mbsnicmp, _wcsnicmp)
221
#define _tcsnicoll INL_TCHAR_ROUTINE(_strnicoll, _strnicoll _wcsnicoll)
222
#define _tcsninc INL_TCHAR_ROUTINE(_strninc, _mbsninc, _wcsninc)
223
#define _tcsnccnt INL_TCHAR_ROUTINE(_strncnt, _mbsnccnt, _wcsncnt)
224
#define _tcsnset INL_TCHAR_ROUTINE(_strnset, _mbsnbset, _wcsnset)
225
#define _tcspbrk INL_TCHAR_ROUTINE(strpbrk, _mbspbrk, wcspbrk)
226
#define _tcsspnp INL_TCHAR_ROUTINE(_strspnp, _mbsspnp, _wcsspnp)
227
#define _tcsrchr INL_TCHAR_ROUTINE(strrchr, _mbsrchr, wcsrchr)
228
#define _tcsrev INL_TCHAR_ROUTINE(_strrev, _mbsrev, _wcsrev)
229
#define _tcsset INL_TCHAR_ROUTINE(_strset, _mbsset, _wcsset)
230
#define _tcsspn INL_TCHAR_ROUTINE(strspn, _mbsspn, wcsspn)
231
#define _tcsstr INL_TCHAR_ROUTINE(strstr, _mbsstr, wcsstr)
232
#define _tcstod INL_TCHAR_ROUTINE(strtod, strtod, wcstod)
233
#define _tcstok INL_TCHAR_ROUTINE(strtok, _mbstok, wcstok)
234
#define _tcstol INL_TCHAR_ROUTINE(strtol, strtol, wcstol)
235
#define _tcstoul INL_TCHAR_ROUTINE(std::strtoul, strtoul, std::wcstoul)
236
#define _tcsupr INL_TCHAR_ROUTINE(strupr, _mbsupr, wcsupr)
237
#define _tcsxfrm INL_TCHAR_ROUTINE(strxfrm, strxfrm, wcsxfrm)
238
#define _tctime INL_TCHAR_ROUTINE(ctime, ctime, _wctime)
239
#define _tenviron INL_TCHAR_ROUTINE(_environ, _environ, _wenviron)
240
#define _texecl INL_TCHAR_ROUTINE(execl, _execl, _wexecl)
241
#define _texecle INL_TCHAR_ROUTINE(execle, _execle, _wexecle)
242
#define _texeclp INL_TCHAR_ROUTINE(execlp, _execlp, _wexeclp)
243
#define _texeclpe INL_TCHAR_ROUTINE(execlpe, _execlpe, _wexeclpe)
244
#define _texecv INL_TCHAR_ROUTINE(execv, _execv, _wexecv)
245
#define _texecve INL_TCHAR_ROUTINE(execve, _execve, _wexecve)
246
#define _texecvp INL_TCHAR_ROUTINE(execvp, _execvp, _wexecvp)
247
#define _texecvpe INL_TCHAR_ROUTINE(execvpe, _execvpe, _wexecvpe)
248
#define _tfdopen INL_TCHAR_ROUTINE(fdopen, _fdopen, _wfdopen)
249
#define _tfinddata_t INL_TCHAR_ROUTINE(_finddata_t, _finddata_t, _wfinddata_t)
250
#define _tfinddatai64_t INL_TCHAR_ROUTINE(_finddatai64_t,_finddatai64_t,_wfinddatai64_t)
251
#define _tfindfirst INL_TCHAR_ROUTINE(_findfirst, _findfirst, _wfindfirst)
252
#define _tfindnext INL_TCHAR_ROUTINE(_findnext, _findnext, _wfindnext)
253
#define _tfopen INL_TCHAR_ROUTINE(fopen, fopen, _wfopen)
254
#define _tfreopen INL_TCHAR_ROUTINE(freopen, freopen, _wfreopen)
255
#define _tfsopen INL_TCHAR_ROUTINE(_fsopen, _fsopen, _wfsopen)
256
#define _tfullpath INL_TCHAR_ROUTINE(_fullpath, _fullpath, _wfullpath)
257
#define _tgetcwd INL_TCHAR_ROUTINE(getcwd, _getcwd, _wgetcwd)
258
#define _tgetenv INL_TCHAR_ROUTINE(getenv, getenv, _wgetenv)
259
#define _tmain INL_TCHAR_ROUTINE(main, main, wmain)
260
#define _tmakepath INL_TCHAR_ROUTINE(_makepath, _makepath, _wmakepath)
261
#define _tmkdir INL_TCHAR_ROUTINE(mkdir, _mkdir, _wmkdir)
262
#define _tmktemp INL_TCHAR_ROUTINE(mktemp, _mktemp, _wmktemp)
263
#define _tperror INL_TCHAR_ROUTINE(perror, perror, _wperror)
264
#define _topen INL_TCHAR_ROUTINE(open, _open, _wopen)
265
#define _totlower INL_TCHAR_ROUTINE(std::tolower, _mbctolower, towlower)
266
#define _totupper INL_TCHAR_ROUTINE(std::toupper, _mbctoupper, towupper)
267
#define _tpopen INL_TCHAR_ROUTINE(popen, _popen, _wpopen)
268
#define _tprintf INL_TCHAR_ROUTINE(printf, printf, wprintf)
269
#define _tremove INL_TCHAR_ROUTINE(remove, remove, _wremove)
270
#define _trename INL_TCHAR_ROUTINE(rename, rename, _wrename)
271
#define _trmdir INL_TCHAR_ROUTINE(rmdir, _rmdir, _wrmdir)
272
#define _tsearchenv INL_TCHAR_ROUTINE(_searchenv, _searchenv, _wsearchenv)
273
#define _tscanf INL_TCHAR_ROUTINE(scanf, scanf, wscanf)
274
#define _tsetlocale INL_TCHAR_ROUTINE(setlocale, setlocale, _wsetlocale)
275
#define _tsopen INL_TCHAR_ROUTINE(_sopen, _sopen, _wsopen)
276
#define _tspawnl INL_TCHAR_ROUTINE(_spawnl, _spawnl, _wspawnl)
277
#define _tspawnle INL_TCHAR_ROUTINE(_spawnle, _spawnle, _wspawnle)
278
#define _tspawnlp INL_TCHAR_ROUTINE(_spawnlp, _spawnlp, _wspawnlp)
279
#define _tspawnlpe INL_TCHAR_ROUTINE(_spawnlpe, _spawnlpe, _wspawnlpe)
280
#define _tspawnv INL_TCHAR_ROUTINE(_spawnv, _spawnv, _wspawnv)
281
#define _tspawnve INL_TCHAR_ROUTINE(_spawnve, _spawnve, _wspawnve)
282
#define _tspawnvp INL_TCHAR_ROUTINE(_spawnvp, _spawnvp, _tspawnvp)
283
#define _tspawnvpe INL_TCHAR_ROUTINE(_spawnvpe, _spawnvpe, _tspawnvpe)
284
#define _tsplitpath INL_TCHAR_ROUTINE(_splitpath, _splitpath, _wsplitpath)
285
#define _tstat INL_TCHAR_ROUTINE(_stat, _stat, _wstat)
286
#define _tstrdate INL_TCHAR_ROUTINE(_strdate, _strdate, _wstrdate)
287
#define _tstrtime INL_TCHAR_ROUTINE(_strtime, _strtime, _wstrtime)
288
#define _tsystem INL_TCHAR_ROUTINE(system, system, _wsystem)
289
#define _ttempnam INL_TCHAR_ROUTINE(tempnam, _tempnam, _wtempnam)
290
#define _ttmpnam INL_TCHAR_ROUTINE(tmpnam, tmpnam, _wtmpnam)
291
#define _ttoi INL_TCHAR_ROUTINE(atoi, atoi, _wtoi)
292
#define _ttol INL_TCHAR_ROUTINE(atol, atol, _wtol)
293
#define _tutime INL_TCHAR_ROUTINE(utime, _utime, _wutime)
294
#define _tWinMain INL_TCHAR_ROUTINE(WinMain, WinMain, wWinMain)
295
#define _ultot INL_TCHAR_ROUTINE(_ultoa, _ultoa, _ultow)
296
#define _ungettc INL_TCHAR_ROUTINE(ungetc, ungetc, ungetwc)
297
#define _vftprintf INL_TCHAR_ROUTINE(vfprintf, vfprintf, vfwprintf)
298
#define _vsntprintf INL_TCHAR_ROUTINE(vsnprintf, _vsnprintf, _vsnwprintf)
299
#define _vstprintf INL_TCHAR_ROUTINE(vsprintf, vsprintf, vswprintf)
300
#define _vtprintf INL_TCHAR_ROUTINE(vprintf, vprintf, vwprintf)
301
#define _TEOF INL_TCHAR_ROUTINE(EOF, EOF, WEOF)
305
#endif // SYSTEMPS3_H
26
#include <cassert> // (assert.h)
27
#include <cctype> // (ctype.h)
28
#include <cerrno> // (errno.h)
29
#include <cfloat> // (float.h)
30
#include <ciso646> // (iso646.h)
31
#include <climits> // (limits.h)
32
#include <clocale> // (locale.h)
33
#include <cmath> // (math.h)
34
//#include <csetjmp> // (setjmp.h) conflicts with libpng on linux.
35
#include <csignal> // (signal.h)
36
#include <cstdarg> // (stdarg.h)
37
#include <cstddef> // (stddef.h)
38
#include <cstdio> // (stdio.h)
39
#include <cstdlib> // (stdlib.h)
40
#include <cstring> // (string.h)
41
#include <ctime> // (time.h)
42
#include <cwchar> // (wchar.h)
43
#include <cwctype> // (wctype.h)
48
#include <sys/types.h>
50
#include <sys/syscall.h>
59
// If INL_LOG_FILE_ANSI is set to 1, log files will be written in ASCII characters even when in UNICODE.
60
#define INL_LOG_FILE_ANSI 1
63
#define INL_VARARGS __cdecl // Functions with variable arguments
66
// This is the default calling convention for C and C++ programs.
67
// Because the stack is cleaned up by the caller, it can do vararg functions.
68
// Argument-passing order: Right to left
69
#define INL_CDECL __cdecl
70
// The __stdcall calling convention is used to call Win32 API functions.
71
// The callee cleans the stack, so the compiler makes vararg functions __cdecl.
72
// Argument-passing order: Right to left
73
#define INL_STDCALL __stdcall
74
// The __fastcall calling convention specifies that arguments to functions are to be passed in registers, when possible.
75
#define INL_FASTCALL __fastcall
76
// This is the default calling convention used by C++ member functions that do not use variable arguments.
77
// Under thiscall, the callee cleans the stack, which is impossible for vararg functions.
78
#define INL_THISCALL thiscall //
80
#define INL_INLINE inline // Force inline code
81
#define INL_FORCEINLINE inline //__attribute__ ((__always_inline)) // Force inline code
82
#define INL_FORCENOINLINE __attribute__ ((noinline)) // Force code to NOT be inline
85
// Unsigned base types.
86
typedef unsigned char BYTE; // 8-bit unsigned.
87
typedef unsigned short WORD; // 16-bit unsigned.
88
typedef unsigned int UINT; // 32-bit unsigned.
89
typedef unsigned long DWORD; // 32-bit unsigned.
90
typedef uint64_t QWORD; // 64-bit unsigned.
93
typedef signed char SBYTE; // 8-bit signed.
94
typedef signed short SWORD; // 16-bit signed.
95
typedef signed int INT; // 32-bit signed.
96
typedef int64_t SQWORD; // 64-bit signed.
100
typedef char ANSICHAR; // An ANSI character.
101
typedef unsigned char ANSIUCHAR; // An ANSI character.
102
typedef wchar_t UNICHAR; // A unicode character.
105
typedef unsigned char BOOL; // Boolean 0 (false) or 1 (true).
106
typedef long UBOOL; // Boolean 0 (false) or 1 (true).
107
typedef float FLOAT; // 32-bit IEEE floating point.
108
typedef double DOUBLE; // 64-bit IEEE double.
109
typedef unsigned long SIZE_T; // Corresponds to C SIZE_T.
111
///////////////////////////////////////////////
113
///////////////////////////////////////////////
115
typedef UNICHAR TCHAR;
119
typedef ANSICHAR TCHAR;
126
#define WINE_tchar_true(a) (1)
127
#define WINE_tchar_false(a) (0)
128
#define WINE_tchar_tclen(a) (1)
129
#define WINE_tchar_tccpy(a,b) do { *(a)=*(b); } while (0)
131
#define WINE_tchar_true(a) (1)
132
#define WINE_tchar_false(a) (0)
133
#define WINE_tchar_tclen(a) (1)
134
#define WINE_tchar_tccpy(a,b) do { *(a)=*(b); } while (0)
139
#define INL_TCHAR_ROUTINE(ansi, mbcs, unicode) ansi
141
#define INL_TCHAR_ROUTINE(ansi, mbcs, unicode) mbcs
144
#define INL_TCHAR_ROUTINE(ansi, mbcs, unicode) unicode
148
#define INL_UNIX_SYS_HOST_ROOT TEXT("/")
149
#define INL_UNIX_SYS_HOME TEXT("/home")
151
///////////////////////////////////////////////
152
#define __targv INL_TCHAR_ROUTINE(__argv, __argv, __wargv)
153
#define _fgettc INL_TCHAR_ROUTINE(fgetc, fgetc, fgetwc)
154
#define _fgettchar INL_TCHAR_ROUTINE(fgetchar, fgetchar, _fgetwchar)
155
#define _fgetts INL_TCHAR_ROUTINE(fgets, fgets, fgetws)
156
#define _fputtc INL_TCHAR_ROUTINE(fputc, fputc, fputwc)
157
#define _fputtchar INL_TCHAR_ROUTINE(fputchar, fputchar, _fputwchar)
158
#define _fputts INL_TCHAR_ROUTINE(fputs, fputs, fputws)
159
#define _ftprintf INL_TCHAR_ROUTINE(fprintf, fprintf, fwprintf)
160
#define _ftscanf INL_TCHAR_ROUTINE(fscanf, fscanf, fwscanf)
161
#define _gettc INL_TCHAR_ROUTINE(getc, getc, getwc)
162
#define _gettchar INL_TCHAR_ROUTINE(getchar, getchar, getwchar)
163
#define _getts INL_TCHAR_ROUTINE(gets, gets, getws)
164
#define _isalnum INL_TCHAR_ROUTINE(isalnum, _ismbcalnum, iswalnum)
165
#define _istalpha INL_TCHAR_ROUTINE(isalpha, _ismbcalpha, iswalpha)
166
#define _istascii INL_TCHAR_ROUTINE(isascii, __isascii, iswascii)
167
#define _istcntrl INL_TCHAR_ROUTINE(iscntrl, iscntrl, iswcntrl)
168
#define _istdigit INL_TCHAR_ROUTINE(isdigit, _ismbcdigit, iswdigit)
169
#define _istgraph INL_TCHAR_ROUTINE(isgraph, _ismbcgraph, iswgraph)
170
#define _istlead INL_TCHAR_ROUTINE(WINE_tchar_false,_ismbblead, WINE_tchar_false)
171
#define _istleadbyte INL_TCHAR_ROUTINE(WINE_tchar_false,isleadbyte, WINE_tchar_false)
172
#define _istlegal INL_TCHAR_ROUTINE(WINE_tchar_true, _ismbclegal, WINE_tchar_true)
173
#define _istlower INL_TCHAR_ROUTINE(islower, _ismbcslower,iswlower)
174
#define _istprint INL_TCHAR_ROUTINE(isprint, _ismbcprint, iswprint)
175
#define _istpunct INL_TCHAR_ROUTINE(ispunct, _ismbcpunct, iswpunct)
176
#define _istspace INL_TCHAR_ROUTINE(isspace, _ismbcspace, iswspace)
177
#define _istupper INL_TCHAR_ROUTINE(isupper, _ismbcupper, iswupper)
178
#define _istxdigit INL_TCHAR_ROUTINE(isxdigit, isxdigit, iswxdigit)
179
#define _itot INL_TCHAR_ROUTINE(_itoa, _itoa, _itow)
180
#define _ltot INL_TCHAR_ROUTINE(_ltoa, _ltoa, _ltow)
181
#define _puttc INL_TCHAR_ROUTINE(putc, putc, putwc)
182
#define _puttchar INL_TCHAR_ROUTINE(putchar, putchar, putwchar)
183
#define _putts INL_TCHAR_ROUTINE(puts, puts, putws)
184
#define _sntprintf INL_TCHAR_ROUTINE(sprintf, sprintf, swprintf)
185
#define _stprintf INL_TCHAR_ROUTINE(sprintf, sprintf, swprintf)
186
#define _stscanf INL_TCHAR_ROUTINE(sscanf, sscanf, swscanf)
187
#define _taccess INL_TCHAR_ROUTINE(access, _access, _waccess)
188
#define _tasctime INL_TCHAR_ROUTINE(asctime, asctime, _wasctime)
189
#define _tccpy INL_TCHAR_ROUTINE(WINE_tchar_tccpy,_mbccpy, WINE_tchar_tccpy)
190
#define _tchdir INL_TCHAR_ROUTINE(chdir, _chdir, _wchdir)
191
#define _tclen INL_TCHAR_ROUTINE(WINE_tchar_tclen,_mbclen, WINE_tchar_tclen)
192
#define _tchmod INL_TCHAR_ROUTINE(chmod, _chmod, _wchmod)
193
#define _tcreat INL_TCHAR_ROUTINE(creat, _creat, _wcreat)
194
#define _tcscat INL_TCHAR_ROUTINE(strcat, _mbscat, wcscat)
195
#define _tcschr INL_TCHAR_ROUTINE(strchr, _mbschr, wcschr)
196
#define _tcsclen INL_TCHAR_ROUTINE(strlen, _mbslen, wcslen)
197
#define _tcscmp INL_TCHAR_ROUTINE(strcmp, _mbscmp, wcscmp)
198
#define _tcscoll INL_TCHAR_ROUTINE(strcoll, _mbscoll, wcscoll)
199
#define _tcscpy INL_TCHAR_ROUTINE(strcpy, _mbscpy, wcscpy)
200
#define _tcscspn INL_TCHAR_ROUTINE(strcspn, _mbscspn, wcscspn)
201
#define _tcsdec INL_TCHAR_ROUTINE(_strdec, _mbsdec, _wcsdec)
202
#define _tcsdup INL_TCHAR_ROUTINE(strdup, _mbsdup, _wcsdup)
203
#define _tcsftime INL_TCHAR_ROUTINE(strftime, strftime, wcsftime)
204
#define _tcsicmp INL_TCHAR_ROUTINE(strcasecmp, _mbsicmp, _wcsicmp)
205
#define _tcsicoll INL_TCHAR_ROUTINE(_stricoll, _stricoll, _wcsicoll)
206
#define _tcsinc INL_TCHAR_ROUTINE(_strinc, _mbsinc, _wcsinc)
207
#define _tcslen INL_TCHAR_ROUTINE(strlen, strlen, wcslen)
208
#define _tcslwr INL_TCHAR_ROUTINE(strlwr, _mbslwr, wcslwr)
209
#define _tcsnbcnt INL_TCHAR_ROUTINE(_strncnt, _mbsnbcnt, _wcnscnt)
210
#define _tcsncat INL_TCHAR_ROUTINE(strncat, _mbsnbcat, wcsncat)
211
#define _tcsnccat INL_TCHAR_ROUTINE(strncat, _mbsncat, wcsncat)
212
#define _tcsncmp INL_TCHAR_ROUTINE(strncmp, _mbsnbcmp, wcsncmp)
213
#define _tcsnccmp INL_TCHAR_ROUTINE(strncmp, _mbsncmp, wcsncmp)
214
#define _tcsnccnt INL_TCHAR_ROUTINE(_strncnt, _mbsnccnt, _wcsncnt)
215
#define _tcsnccpy INL_TCHAR_ROUTINE(strncpy, _mbsncpy, wcsncpy)
216
#define _tcsncicmp INL_TCHAR_ROUTINE(_strnicmp, _mbsnicmp, _wcsnicmp)
217
#define _tcsncpy INL_TCHAR_ROUTINE(strncpy, _mbsnbcpy, wcsncpy)
218
#define _tcsncset INL_TCHAR_ROUTINE(_strnset, _mbsnset, _wcsnset)
219
#define _tcsnextc INL_TCHAR_ROUTINE(_strnextc, _mbsnextc, _wcsnextc)
220
#define _tcsnicmp INL_TCHAR_ROUTINE(_strnicmp, _mbsnicmp, _wcsnicmp)
221
#define _tcsnicoll INL_TCHAR_ROUTINE(_strnicoll, _strnicoll _wcsnicoll)
222
#define _tcsninc INL_TCHAR_ROUTINE(_strninc, _mbsninc, _wcsninc)
223
#define _tcsnccnt INL_TCHAR_ROUTINE(_strncnt, _mbsnccnt, _wcsncnt)
224
#define _tcsnset INL_TCHAR_ROUTINE(_strnset, _mbsnbset, _wcsnset)
225
#define _tcspbrk INL_TCHAR_ROUTINE(strpbrk, _mbspbrk, wcspbrk)
226
#define _tcsspnp INL_TCHAR_ROUTINE(_strspnp, _mbsspnp, _wcsspnp)
227
#define _tcsrchr INL_TCHAR_ROUTINE(strrchr, _mbsrchr, wcsrchr)
228
#define _tcsrev INL_TCHAR_ROUTINE(_strrev, _mbsrev, _wcsrev)
229
#define _tcsset INL_TCHAR_ROUTINE(_strset, _mbsset, _wcsset)
230
#define _tcsspn INL_TCHAR_ROUTINE(strspn, _mbsspn, wcsspn)
231
#define _tcsstr INL_TCHAR_ROUTINE(strstr, _mbsstr, wcsstr)
232
#define _tcstod INL_TCHAR_ROUTINE(strtod, strtod, wcstod)
233
#define _tcstok INL_TCHAR_ROUTINE(strtok, _mbstok, wcstok)
234
#define _tcstol INL_TCHAR_ROUTINE(strtol, strtol, wcstol)
235
#define _tcstoul INL_TCHAR_ROUTINE(std::strtoul, strtoul, std::wcstoul)
236
#define _tcsupr INL_TCHAR_ROUTINE(strupr, _mbsupr, wcsupr)
237
#define _tcsxfrm INL_TCHAR_ROUTINE(strxfrm, strxfrm, wcsxfrm)
238
#define _tctime INL_TCHAR_ROUTINE(ctime, ctime, _wctime)
239
#define _tenviron INL_TCHAR_ROUTINE(_environ, _environ, _wenviron)
240
#define _texecl INL_TCHAR_ROUTINE(execl, _execl, _wexecl)
241
#define _texecle INL_TCHAR_ROUTINE(execle, _execle, _wexecle)
242
#define _texeclp INL_TCHAR_ROUTINE(execlp, _execlp, _wexeclp)
243
#define _texeclpe INL_TCHAR_ROUTINE(execlpe, _execlpe, _wexeclpe)
244
#define _texecv INL_TCHAR_ROUTINE(execv, _execv, _wexecv)
245
#define _texecve INL_TCHAR_ROUTINE(execve, _execve, _wexecve)
246
#define _texecvp INL_TCHAR_ROUTINE(execvp, _execvp, _wexecvp)
247
#define _texecvpe INL_TCHAR_ROUTINE(execvpe, _execvpe, _wexecvpe)
248
#define _tfdopen INL_TCHAR_ROUTINE(fdopen, _fdopen, _wfdopen)
249
#define _tfinddata_t INL_TCHAR_ROUTINE(_finddata_t, _finddata_t, _wfinddata_t)
250
#define _tfinddatai64_t INL_TCHAR_ROUTINE(_finddatai64_t,_finddatai64_t,_wfinddatai64_t)
251
#define _tfindfirst INL_TCHAR_ROUTINE(_findfirst, _findfirst, _wfindfirst)
252
#define _tfindnext INL_TCHAR_ROUTINE(_findnext, _findnext, _wfindnext)
253
#define _tfopen INL_TCHAR_ROUTINE(fopen, fopen, _wfopen)
254
#define _tfreopen INL_TCHAR_ROUTINE(freopen, freopen, _wfreopen)
255
#define _tfsopen INL_TCHAR_ROUTINE(_fsopen, _fsopen, _wfsopen)
256
#define _tfullpath INL_TCHAR_ROUTINE(_fullpath, _fullpath, _wfullpath)
257
#define _tgetcwd INL_TCHAR_ROUTINE(getcwd, _getcwd, _wgetcwd)
258
#define _tgetenv INL_TCHAR_ROUTINE(getenv, getenv, _wgetenv)
259
#define _tmain INL_TCHAR_ROUTINE(main, main, wmain)
260
#define _tmakepath INL_TCHAR_ROUTINE(_makepath, _makepath, _wmakepath)
261
#define _tmkdir INL_TCHAR_ROUTINE(mkdir, _mkdir, _wmkdir)
262
#define _tmktemp INL_TCHAR_ROUTINE(mktemp, _mktemp, _wmktemp)
263
#define _tperror INL_TCHAR_ROUTINE(perror, perror, _wperror)
264
#define _topen INL_TCHAR_ROUTINE(open, _open, _wopen)
265
#define _totlower INL_TCHAR_ROUTINE(std::tolower, _mbctolower, towlower)
266
#define _totupper INL_TCHAR_ROUTINE(std::toupper, _mbctoupper, towupper)
267
#define _tpopen INL_TCHAR_ROUTINE(popen, _popen, _wpopen)
268
#define _tprintf INL_TCHAR_ROUTINE(printf, printf, wprintf)
269
#define _tremove INL_TCHAR_ROUTINE(remove, remove, _wremove)
270
#define _trename INL_TCHAR_ROUTINE(rename, rename, _wrename)
271
#define _trmdir INL_TCHAR_ROUTINE(rmdir, _rmdir, _wrmdir)
272
#define _tsearchenv INL_TCHAR_ROUTINE(_searchenv, _searchenv, _wsearchenv)
273
#define _tscanf INL_TCHAR_ROUTINE(scanf, scanf, wscanf)
274
#define _tsetlocale INL_TCHAR_ROUTINE(setlocale, setlocale, _wsetlocale)
275
#define _tsopen INL_TCHAR_ROUTINE(_sopen, _sopen, _wsopen)
276
#define _tspawnl INL_TCHAR_ROUTINE(_spawnl, _spawnl, _wspawnl)
277
#define _tspawnle INL_TCHAR_ROUTINE(_spawnle, _spawnle, _wspawnle)
278
#define _tspawnlp INL_TCHAR_ROUTINE(_spawnlp, _spawnlp, _wspawnlp)
279
#define _tspawnlpe INL_TCHAR_ROUTINE(_spawnlpe, _spawnlpe, _wspawnlpe)
280
#define _tspawnv INL_TCHAR_ROUTINE(_spawnv, _spawnv, _wspawnv)
281
#define _tspawnve INL_TCHAR_ROUTINE(_spawnve, _spawnve, _wspawnve)
282
#define _tspawnvp INL_TCHAR_ROUTINE(_spawnvp, _spawnvp, _tspawnvp)
283
#define _tspawnvpe INL_TCHAR_ROUTINE(_spawnvpe, _spawnvpe, _tspawnvpe)
284
#define _tsplitpath INL_TCHAR_ROUTINE(_splitpath, _splitpath, _wsplitpath)
285
#define _tstat INL_TCHAR_ROUTINE(_stat, _stat, _wstat)
286
#define _tstrdate INL_TCHAR_ROUTINE(_strdate, _strdate, _wstrdate)
287
#define _tstrtime INL_TCHAR_ROUTINE(_strtime, _strtime, _wstrtime)
288
#define _tsystem INL_TCHAR_ROUTINE(system, system, _wsystem)
289
#define _ttempnam INL_TCHAR_ROUTINE(tempnam, _tempnam, _wtempnam)
290
#define _ttmpnam INL_TCHAR_ROUTINE(tmpnam, tmpnam, _wtmpnam)
291
#define _ttoi INL_TCHAR_ROUTINE(atoi, atoi, _wtoi)
292
#define _ttol INL_TCHAR_ROUTINE(atol, atol, _wtol)
293
#define _tutime INL_TCHAR_ROUTINE(utime, _utime, _wutime)
294
#define _tWinMain INL_TCHAR_ROUTINE(WinMain, WinMain, wWinMain)
295
#define _ultot INL_TCHAR_ROUTINE(_ultoa, _ultoa, _ultow)
296
#define _ungettc INL_TCHAR_ROUTINE(ungetc, ungetc, ungetwc)
297
#define _vftprintf INL_TCHAR_ROUTINE(vfprintf, vfprintf, vfwprintf)
298
#define _vsntprintf INL_TCHAR_ROUTINE(vsnprintf, _vsnprintf, _vsnwprintf)
299
#define _vstprintf INL_TCHAR_ROUTINE(vsprintf, vsprintf, vswprintf)
300
#define _vtprintf INL_TCHAR_ROUTINE(vprintf, vprintf, vwprintf)
301
#define _TEOF INL_TCHAR_ROUTINE(EOF, EOF, WEOF)
305
#endif // SYSTEMPS3_H