wcs* use wchar_t on POSIX, which is not the same as WCHAR
so, winchar_* is introduced which uses WCHAR git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4883 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
33800e2160
commit
5b01b17f11
4 changed files with 125 additions and 13 deletions
9
Source/winchar.h
Normal file
9
Source/winchar.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#include "Platform.h"
|
||||
|
||||
WCHAR *winchar_fromansi(const char* s);
|
||||
char *winchar_toansi(const WCHAR* ws);
|
||||
WCHAR *winchar_strcpy(WCHAR *ws1, const WCHAR *ws2);
|
||||
WCHAR *winchar_strncpy(WCHAR *ws1, const WCHAR *ws2, size_t n);
|
||||
size_t winchar_strlen(WCHAR *ws);
|
||||
int winchar_strcmp(const WCHAR *ws1, const WCHAR *ws2);
|
||||
int winchar_stoi(const WCHAR *ws);
|
Loading…
Add table
Add a link
Reference in a new issue