Use _close(), not close(), on Windows

This commit is contained in:
Dmitri Tikhonov 2020-10-28 08:26:13 -04:00
parent 4429f8ea1e
commit ee8b3d347f

View file

@ -11,6 +11,7 @@ struct iovec {
#define strncasecmp _strnicmp
#define strdup _strdup
#define PATH_MAX MAX_PATH
#define close _close
#define posix_memalign(p, a, s) (((*(p)) = _aligned_malloc((s), (a))), *(p) ?0 :errno)