/* ============================================================================= * sc_bool.h * Copyright (c) 2003 - 2013 Nomura Kei * ============================================================================= */ #ifndef SC_STDBOOL_H #define SC_STDBOOL_H #ifndef __cplusplus #ifndef CONFIG_H #include <config.h> #endif #if (HAS_STDBOOL_H) #include <stdbool.h> #else /** bool 定義. */ typedef enum { false = 0, true = 1 } bool; #ifndef _Bool /** _Bool 定義. */ #define _Bool bool #endif #endif /* HAS_STDBOOL_H */ #endif /* ifndef __cplusplus */ #endif /* SC_STDBOOL_H */