diff options
-rw-r--r-- | src/include/win-mac.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/win-mac.h b/src/include/win-mac.h index 4249f0db55..5c08fab391 100644 --- a/src/include/win-mac.h +++ b/src/include/win-mac.h @@ -82,6 +82,14 @@ typedef int int32_t; typedef unsigned __int64 uint64_t; typedef __int64 int64_t; #endif +#ifndef SSIZE_T_DEFINED +#ifdef _WIN64 +typedef __int64 ssize_t; +#else +typedef _W64 int ssize_t; +#endif +#define SSIZE_T_DEFINED +#endif #endif /* KRB5_SYSTYPES__ */ #define MAXHOSTNAMELEN 512 |