Browse Source

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

tags/json-c-0.15-20200726
Eric Haszlakiewicz 5 years ago
parent
commit
d414d3eabc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      snprintf_compat.h

+ 1
- 1
snprintf_compat.h 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;


Loading…
Cancel
Save