diff --git a/json_util.c b/json_util.c index c7c2325..b5bcd07 100644 --- a/json_util.c +++ b/json_util.c @@ -39,7 +39,10 @@ #endif /* HAVE_UNISTD_H */ #ifdef WIN32 -# define strtoll _strtoi64 +# if MSC_VER < 1800 +/* strtoll is available only since Visual Studio 2013 */ +# define strtoll _strtoi64 +# endif # define WIN32_LEAN_AND_MEAN # include # include