mirror of
https://github.com/json-c/json-c.git
synced 2026-04-05 21:39:06 +08:00
Issue #604: add check for __MINGW32__ in snprintf_compat.h
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#include <stdarg.h>
|
#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)
|
static int json_c_vsnprintf(char *str, size_t size, const char *format, va_list ap)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user