From 73de31c5416ad5efc7ec91912427f839ceeb7425 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 21 Sep 2018 16:01:29 +0300 Subject: [PATCH] MinGW32 doesn't have std::snprintf --- include/boost/system/detail/system_category_win32.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/system/detail/system_category_win32.hpp b/include/boost/system/detail/system_category_win32.hpp index 2035678..4739b89 100644 --- a/include/boost/system/detail/system_category_win32.hpp +++ b/include/boost/system/detail/system_category_win32.hpp @@ -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 ) {