From 03f3b95248cf82e35bee73f617d0ebfc37af7ef8 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Tue, 7 Nov 2017 16:50:58 +0200 Subject: [PATCH] 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 --- json_util.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.49.0