config-win32: set HAVE_SNPRINTF for mingw-w64

It's available in all mingw-w64 releases. We already pre-fill this
detection in CMake.

Closes #12325
This commit is contained in:
Viktor Szakats 2023-11-15 02:54:43 +00:00
parent c537b0aa19
commit 6608f34f56
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -226,7 +226,7 @@
#define SEND_TYPE_RETV int
/* Define to 1 if you have the snprintf function. */
#if defined(_MSC_VER) && (_MSC_VER >= 1900)
#if (defined(_MSC_VER) && (_MSC_VER >= 1900)) || defined(__MINGW32__)
#define HAVE_SNPRINTF 1
#endif