diff options
Diffstat (limited to 'src/arch/riscv/include/stdint.h')
-rw-r--r-- | src/arch/riscv/include/stdint.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/riscv/include/stdint.h b/src/arch/riscv/include/stdint.h index a14d053757..24562cde9b 100644 --- a/src/arch/riscv/include/stdint.h +++ b/src/arch/riscv/include/stdint.h @@ -52,6 +52,9 @@ typedef int16_t s16; typedef int32_t s32; typedef int64_t s64; +typedef uint8_t bool; +#define true 1 +#define false 0 /* Types for `void *' pointers. */ typedef s64 intptr_t; |