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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
json_util.c
|
|
@@ -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 |
|
|
|