Fix missing ssize_t in MSVC build

This commit is contained in:
walknight 2021-02-27 00:43:52 -06:00
parent af1b2e2e69
commit 987b83def6
1 changed files with 5 additions and 0 deletions

View File

@ -56,6 +56,11 @@
#include "deps/crypto/sha1.h"
#include <zlib.h>
#if defined(_MSC_VER)
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif
#define TRUE 1
#define FALSE 0