* Try to avoid invalid parameter debug warning in newer versions of MSVCRT.dll when calling _vsnwprintf as a _vscwprintf replacement
* _wtof does not exist in MSVCRT.dll on Win2000, use our internal version when building with MinGW/MSVC6 or MSVC /MD git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6630 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7b814407a3
commit
650ebca347
2 changed files with 13 additions and 8 deletions
|
@ -96,10 +96,10 @@ typedef wchar_t TCHAR, _TUCHAR;
|
|||
#define _tcstoi64 _wcstoi64
|
||||
#define _tcstol wcstol
|
||||
#define _tcstoul wcstoul
|
||||
#if !defined(_WIN32) || (defined(_MSC_VER) && (_MSC_VER<=1200))
|
||||
# define _tstof my_wtof
|
||||
#if !defined(_WIN32) || !defined(_MSC_VER) || (defined(_MSC_VER) && ((_MSC_VER<=1200) || defined(_DLL))) // _wtof does not exist in older versions of MSVCRT.dll
|
||||
# define _tstof my_wtof
|
||||
#else
|
||||
# define _tstof _wtof
|
||||
# define _tstof _wtof
|
||||
#endif
|
||||
#define _tstoi _wtoi
|
||||
#define _tstoi64 _wtoi64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue