common.h
Raw
1#ifndef CUTILS_COMMON_H
2#define CUTILS_COMMON_H
3
4#include <stddef.h>
5#include <cutils/hedley.h>
6#ifndef SIZE_MAX
7 #define SIZE_MAX (size_t)-1;
8#endif
9
10#if __STDC_VERSION__ >= 199901L
11 #include <stdbool.h>
12#else
13 #ifndef CUTILS_NO_BOOL
14 typedef enum {false = 0, true = 1} bool;
15 #endif
16#endif
17
18
19#endif /* CUTILS_COMMON_H */
20