Browse Source

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 <ardeleanalex@gmail.com>
tags/json-c-0.13-20171207
Alexandru Ardelean 8 years ago
parent
commit
03f3b95248
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      json_util.c

+ 1
- 0
json_util.c View File

@@ -39,6 +39,7 @@
#endif /* HAVE_UNISTD_H */

#ifdef WIN32
# define strtoll _strtoi64
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# include <io.h>


Loading…
Cancel
Save