Loading...
Searching...
No Matches
common.hpp
Go to the documentation of this file.
1
4#pragma once
5
6#ifdef UNICODE
7# define tchar wchar_t
8# define tmain wmain
9# define tcslen wcslen
10# define tcscat wcscat
11# define tcscpy wcscpy
12# define tcsncpy wcsncpy
13# define tcscmp wcscmp
14# define tcsncmp wcsncmp
15# define tprintf wprintf
16# define tscanf wscanf
17# define fgetts fgetws
18# define fputts fputws
19#else
20# define tchar char
21# define tcslen strlen
22# define tcscat strcat
23# define tcscpy strcpy
24# define tcsncpy strncpy
25# define tcscmp strcmp
26# define tcsncmp strncmp
27# define tprintf printf
28# define tscanf scanf
29# define fgetts fgets
30# define fputts fputs
31#endif