POSIX fixes for native and crossplatform utils
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6427 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
859b5d3d07
commit
52a8b320ef
16 changed files with 66 additions and 46 deletions
|
@ -44,13 +44,4 @@ int WinWStrToInt(const WINWCHAR *s);
|
|||
inline WINWCHAR* WinWStrDupFromTChar(const TCHAR *s, unsigned int codepage) { return WinWStrDupFromTChar(s); }
|
||||
#endif
|
||||
|
||||
|
||||
#if 0
|
||||
WCHAR *wcsdup_fromansi(const char* s, unsigned int codepage = CP_ACP);
|
||||
#ifdef _UNICODE
|
||||
#define wcsdup_fromTchar(s, codepage) _wcsdup(s) // codepage is not used in this mode
|
||||
#else
|
||||
#define wcsdup_fromTchar(s, codepage) wcsdup_fromansi(s, codepage)
|
||||
#endif
|
||||
#endif
|
||||
#endif // ~INC_NSIS_WINCHAR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue