From: Alexandru Ardelean Date: Tue, 7 Nov 2017 14:50:58 +0000 (+0200) Subject: json_util: define `strtoll` as _strtoi64 for MSVC X-Git-Tag: json-c-0.13-20171207~34^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03f3b95248cf82e35bee73f617d0ebfc37af7ef8;p=json-c json_util: define `strtoll` as _strtoi64 for MSVC Got the idea from this blog post: http://www.enchantedage.com/node/231 Simple & concise stuff :) Signed-off-by: Alexandru Ardelean --- diff --git a/json_util.c b/json_util.c index 00cdc30..c7c2325 100644 --- a/json_util.c +++ b/json_util.c @@ -39,6 +39,7 @@ #endif /* HAVE_UNISTD_H */ #ifdef WIN32 +# define strtoll _strtoi64 # define WIN32_LEAN_AND_MEAN # include # include