Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: fix build on appveyor CI #373

Merged
merged 2 commits into from
Nov 26, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions json_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#endif /* HAVE_UNISTD_H */

#ifdef WIN32
# define strtoll _strtoi64
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# include <io.h>
Expand Down
4 changes: 2 additions & 2 deletions strerror_override.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down