We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e71fe0 commit d414d3eCopy full SHA for d414d3e
snprintf_compat.h
@@ -13,7 +13,7 @@
13
14
#include <stdarg.h>
15
16
-#if !defined(HAVE_SNPRINTF) && defined(_MSC_VER)
+#if !defined(HAVE_SNPRINTF) && (defined(_MSC_VER) || defined(__MINGW32__))
17
static int json_c_vsnprintf(char *str, size_t size, const char *format, va_list ap)
18
{
19
int ret;
0 commit comments