(MSVC 2017) Buildfix

This commit is contained in:
trioan 2020-04-29 22:49:10 +00:00
parent 53d07b30cc
commit e14fc1b087
2 changed files with 6 additions and 2 deletions

View File

@ -18,6 +18,10 @@
#define HAVE_COMPRESSION 1
#endif
#if defined(_WIN32) && !defined(_XBOX)
#define WIN32_LEAN_AND_MEAN
#endif
#if defined(_MSC_VER)
#include <string.h>
#include <compat/posix_string.h>

View File

@ -1286,8 +1286,8 @@ static JSON_Status JSON_CALL JSON_Writer_WriteSpace_NULL(JSON_Writer writer, siz
return JSON_Success;
}
static JSON_Status JSON_CALL (*json_write_new_line)(JSON_Writer writer) = JSON_Writer_WriteNewLine;
static JSON_Status JSON_CALL (*json_write_space)(JSON_Writer writer, size_t numberOfSpaces) = JSON_Writer_WriteSpace;
static JSON_Status (JSON_CALL *json_write_new_line)(JSON_Writer writer) = JSON_Writer_WriteNewLine;
static JSON_Status (JSON_CALL *json_write_space)(JSON_Writer writer, size_t numberOfSpaces) = JSON_Writer_WriteSpace;
void playlist_write_file(
playlist_t *playlist,