mirror of
https://github.com/json-c/json-c.git
synced 2026-11-10 07:50:14 +08:00
Issue #604: add check for __MINGW32__ in snprintf_compat.h
This commit is contained in:
1 parent
2e71fe0963
commit
d414d3eabc
1 file changed
+1
-1
+1
-1
@@ -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