Commit | Line | Data |
---|---|---|
1 | #ifndef FIO_TYPES_H | |
2 | #define FIO_TYPES_H | |
3 | ||
4 | #if !defined(CONFIG_HAVE_BOOL) && !defined(__cplusplus) | |
5 | typedef int bool; | |
6 | #ifndef false | |
7 | #define false 0 | |
8 | #endif | |
9 | #ifndef true | |
10 | #define true 1 | |
11 | #endif | |
12 | #else | |
13 | #include <stdbool.h> /* IWYU pragma: export */ | |
14 | #endif | |
15 | ||
16 | #if !defined(CONFIG_HAVE_KERNEL_RWF_T) | |
17 | typedef int __kernel_rwf_t; | |
18 | #endif | |
19 | ||
20 | #endif |