comparison: ucx/ucx.h
ucx/ucx.h
- changeset 127
- 5418bda21896
- parent 121
- 311cac04d079
- child 131
- fc3af16818a3
equal
deleted
inserted
replaced
| 35 |
35 |
| 36 #ifndef UCX_H |
36 #ifndef UCX_H |
| 37 #define UCX_H |
37 #define UCX_H |
| 38 |
38 |
| 39 #include <stdlib.h> |
39 #include <stdlib.h> |
| |
40 |
| |
41 #ifdef _WIN32 |
| |
42 #ifndef __ssize_t_defined |
| |
43 #include <BaseTsd.h> |
| |
44 typedef SSIZE_T ssize_t; |
| |
45 #define __ssize_t_defined |
| |
46 #endif /* __ssize_t_defined */ |
| |
47 #else /* !_WIN32 */ |
| |
48 #include <sys/types.h> |
| |
49 #endif /* _WIN32 */ |
| 40 |
50 |
| 41 #ifdef __cplusplus |
51 #ifdef __cplusplus |
| 42 #ifndef _Bool |
52 #ifndef _Bool |
| 43 #define _Bool bool |
53 #define _Bool bool |
| 44 #define restrict |
54 #define restrict |