Browse Source

Adding better support to MinGW

Adding better support to MinGW by detecting if MinGW is used to avoid MinGW-make to crash.
pull/568/head
soyouzpanda GitHub 5 years ago
parent
commit
70c0eef71f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      json_util.c

+ 1
- 1
json_util.c View File

@@ -39,7 +39,7 @@
#endif /* HAVE_UNISTD_H */

#ifdef WIN32
#if MSC_VER < 1800
#if (MSC_VER < 1800) && !defined(__MINGW32__)
/* strtoll/strtoull is available only since Visual Studio 2013 */
#define strtoll _strtoi64
#define strtoull _strtoui64


Loading…
Cancel
Save