Issue #604: add check for __MINGW32__ in snprintf_compat.h

This commit is contained in:
Eric Haszlakiewicz
2020-05-13 14:53:05 +00:00
parent 2e71fe0963
commit d414d3eabc

View File

@@ -13,7 +13,7 @@
#include <stdarg.h>
#if !defined(HAVE_SNPRINTF) && defined(_MSC_VER)
#if !defined(HAVE_SNPRINTF) && (defined(_MSC_VER) || defined(__MINGW32__))
static int json_c_vsnprintf(char *str, size_t size, const char *format, va_list ap)
{
int ret;