mirror of
https://github.com/json-c/json-c.git
synced 2026-04-08 23:09:07 +08:00
Merge pull request #373 from commodo/fix-appveyor-build
build: fix build on appveyor CI
This commit is contained in:
@@ -39,6 +39,7 @@
|
|||||||
#endif /* HAVE_UNISTD_H */
|
#endif /* HAVE_UNISTD_H */
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
# define strtoll _strtoi64
|
||||||
# define WIN32_LEAN_AND_MEAN
|
# define WIN32_LEAN_AND_MEAN
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
# include <io.h>
|
# include <io.h>
|
||||||
|
|||||||
@@ -10,12 +10,12 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
JSON_EXPORT char *_json_c_strerror(int errno_in);
|
JSON_EXPORT char *_json_c_strerror(int errno_in);
|
||||||
|
|
||||||
#ifndef STRERROR_OVERRIDE_IMPL
|
#ifndef STRERROR_OVERRIDE_IMPL
|
||||||
#define strerror _json_c_strerror
|
#define strerror _json_c_strerror
|
||||||
#else
|
|
||||||
#include <string.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Reference in New Issue
Block a user