MinGW32 doesn't have std::snprintf

This commit is contained in:
Peter Dimov 2018-09-21 16:01:29 +03:00
parent 7b401cef93
commit 73de31c541

View File

@ -26,7 +26,7 @@ namespace system
namespace detail
{
#if defined(_MSC_VER) && _MSC_VER < 1900
#if ( defined(_MSC_VER) && _MSC_VER < 1900 ) || ( defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR) )
inline char const * unknown_message_win32( int ev, char * buffer, std::size_t len )
{