mirror of
https://github.com/json-c/json-c.git
synced 2026-03-21 05:59:07 +08:00
Issue #604: add check for __MINGW32__ in snprintf_compat.h
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user