Wed, 07 Aug 2013 09:40:46 +0200
fixed ssize_t fix for MinGW
ucx/ucx.h | file | annotate | diff | comparison | revisions |
--- a/ucx/ucx.h Tue Aug 06 10:22:03 2013 +0200 +++ b/ucx/ucx.h Wed Aug 07 09:40:46 2013 +0200 @@ -39,11 +39,12 @@ #include <stdlib.h> #ifdef _WIN32 -#ifndef __ssize_t_defined +#if !(defined __ssize_t_defined || defined _SSIZE_T_) #include <BaseTsd.h> typedef SSIZE_T ssize_t; #define __ssize_t_defined -#endif /* __ssize_t_defined */ +#define _SSIZE_T_ +#endif /* __ssize_t_defined and _SSIZE_T */ #else /* !_WIN32 */ #include <sys/types.h> #endif /* _WIN32 */