Merge pull request #373 from commodo/fix-appveyor-build

build: fix build on appveyor CI
This commit is contained in:
Eric Haszlakiewicz authored and GitHub committed 2017-11-26 14:08:53 -05:00
commit 04788421fe
2 files changed
+3 -2

No files matched your search

+1
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>
+2 -2
View File
@@ -10,12 +10,12 @@
extern "C" {
#endif
#include <string.h>
JSON_EXPORT char *_json_c_strerror(int errno_in);
#ifndef STRERROR_OVERRIDE_IMPL
#define strerror _json_c_strerror
#else
#include <string.h>
#endif
#ifdef __cplusplus