Commit 8d198fdd authored by Pavel Medvedev's avatar Pavel Medvedev Committed by Howard Chu
Browse files

ITS#8067 add ssize_t typedef for MSVC

parent 80e997a0
......@@ -96,7 +96,13 @@ extern int cacheflush(char *addr, int nbytes, int cache);
#include <stdlib.h>
#include <string.h>
#include <time.h>
#ifdef _MSC_VER
#include <io.h>
typedef SSIZE_T ssize_t;
#else
#include <unistd.h>
#endif
#if defined(__sun) || defined(ANDROID)
/* Most platforms have posix_memalign, older may only have memalign */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment