diff options
Diffstat (limited to 'snprintf_compat.h')
| -rw-r--r-- | snprintf_compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/snprintf_compat.h b/snprintf_compat.h index cae3215..76f7a6c 100644 --- a/snprintf_compat.h +++ b/snprintf_compat.h @@ -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; |
