ucx/ucx.h

changeset 132
c7d7e4eeb76b
parent 131
fc3af16818a3
child 151
fc8d05972af7
     1.1 --- a/ucx/ucx.h	Tue Aug 06 10:22:03 2013 +0200
     1.2 +++ b/ucx/ucx.h	Wed Aug 07 09:40:46 2013 +0200
     1.3 @@ -39,11 +39,12 @@
     1.4  #include <stdlib.h>
     1.5  
     1.6  #ifdef _WIN32
     1.7 -#ifndef __ssize_t_defined
     1.8 +#if !(defined __ssize_t_defined || defined _SSIZE_T_)
     1.9  #include <BaseTsd.h>
    1.10  typedef SSIZE_T ssize_t;
    1.11  #define __ssize_t_defined
    1.12 -#endif /* __ssize_t_defined */
    1.13 +#define _SSIZE_T_
    1.14 +#endif /* __ssize_t_defined and _SSIZE_T */
    1.15  #else /* !_WIN32 */
    1.16  #include <sys/types.h>
    1.17  #endif /* _WIN32 */

mercurial