mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 12:09:35 -05:00
ITS#8067 add ssize_t typedef for MSVC
This commit is contained in:
parent
80e997a0eb
commit
8d198fdd5a
1 changed files with 6 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue