src/cx/common.h

changeset 484
9e6900b1cf9d
parent 483
929016224c3c
child 485
6a86ad3d8c03
equal deleted inserted replaced
483:929016224c3c 484:9e6900b1cf9d
47 #define UCX_VERSION_MINOR 0 47 #define UCX_VERSION_MINOR 0
48 48
49 /** Version constant which ensures to increase monotonically. */ 49 /** Version constant which ensures to increase monotonically. */
50 #define UCX_VERSION (((UCX_VERSION_MAJOR)<<16)|UCX_VERSION_MINOR) 50 #define UCX_VERSION (((UCX_VERSION_MAJOR)<<16)|UCX_VERSION_MINOR)
51 51
52 #include <stdlib.h>
53 #include <stddef.h>
52 54
53 #ifdef _WIN32 55 #ifdef _WIN32
54 #if !(defined __ssize_t_defined || defined _SSIZE_T_) 56 #if !(defined __ssize_t_defined || defined _SSIZE_T_)
55 #include <BaseTsd.h> 57 #include <BaseTsd.h>
56 typedef SSIZE_T ssize_t; 58 typedef SSIZE_T ssize_t;
63 #else 65 #else
64 #define __WORDSIZE 32 66 #define __WORDSIZE 32
65 #endif 67 #endif
66 #endif /* __WORDSIZE */ 68 #endif /* __WORDSIZE */
67 #else /* !_WIN32 */ 69 #else /* !_WIN32 */
68
69 #include <sys/types.h> 70 #include <sys/types.h>
70
71 #endif /* _WIN32 */ 71 #endif /* _WIN32 */
72 72
73 #endif /* UCX_COMMON_H */ 73 #endif /* UCX_COMMON_H */

mercurial