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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F373%2Fhead;p=thirdparty%2Fjson-c.git 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 00cdc300..c7c23251 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