Fixed MinGW/configure/Unicode compilation: MinGW/MSVCRT vswprintf does not
behave like other vswprintf; under Win32 you really want _vsnwprintf. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -576,7 +576,10 @@ WXDLLEXPORT bool wxOKlibc(); // for internal use
|
||||
*/
|
||||
#ifndef wxVsnprintf_
|
||||
#if wxUSE_UNICODE
|
||||
#if defined(HAVE_VSWPRINTF)
|
||||
#if defined(HAVE__VSNWPRINTF)
|
||||
#define wxVsnprintf_ _vsnwprintf
|
||||
/* MinGW?MSVCRT has the wrong vswprintf */
|
||||
#elif defined(HAVE_VSWPRINTF) && !defined(__MINGW32__)
|
||||
#define wxVsnprintf_ vswprintf
|
||||
#endif
|
||||
#else // ASCII
|
||||
|
Reference in New Issue
Block a user