1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef FIO_TYPES_H #define FIO_TYPES_H #if !defined(CONFIG_HAVE_BOOL) && !defined(__cplusplus) typedef int bool; #ifndef false #define false 0 #endif #ifndef true #define true 1 #endif #else #include <stdbool.h> #endif #endif