Win32: Include <io.h> on sexp.c

Use POSIX-like functions(open, read and write) from its
compatibility library.
This commit is contained in:
okuoku 2017-12-13 17:17:18 +09:00
parent 51f24ed36e
commit 960c962798

4
sexp.c
View file

@ -15,6 +15,10 @@ struct sexp_huff_entry {
#include "chibi/sexp-huff.h" #include "chibi/sexp-huff.h"
#endif #endif
#ifdef _WIN32
#include <io.h>
#endif
static int sexp_initialized_p = 0; static int sexp_initialized_p = 0;
static const char sexp_separators[] = { static const char sexp_separators[] = {