Lely core libraries  2.2.5
types.h
Go to the documentation of this file.
1 
23 #ifndef LELY_LIBC_SYS_TYPES_H_
24 #define LELY_LIBC_SYS_TYPES_H_
25 
26 #include <lely/features.h>
27 
28 #ifndef LELY_HAVE_SYS_TYPES_H
29 #if defined(_POSIX_C_SOURCE) || defined(__MINGW32__) || defined(__NEWLIB__)
30 #define LELY_HAVE_SYS_TYPES_H 1
31 #endif
32 #endif
33 
34 #if LELY_HAVE_SYS_TYPES_H
35 #include <sys/types.h>
36 #else // !LELY_HAVE_SYS_TYPES_H
37 #include <stddef.h>
38 
40 typedef int clockid_t;
41 
43 typedef ptrdiff_t ssize_t;
44 
45 #endif // !LELY_HAVE_SYS_TYPES_H
46 
47 #endif // !LELY_LIBC_SYS_TYPES_H_
features.h
types.h
stddef.h