Skip to content

Commit 9ee53ad

Browse files
[improvment] use _Bool (c keyword) as kbool type instead of unsigned char
1 parent 9eb53ec commit 9ee53ad

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

include/types.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ typedef signed long intptr_t;
2121
#elif defined(__i386__)
2222
typedef unsigned int uintptr_t;
2323
typedef signed int intptr_t;
24-
#else
25-
#error "AurorOS should not compile for this architecture."
2624
#endif
2725

2826
typedef void (*function_ptr)();
@@ -39,6 +37,6 @@ typedef unsigned int uint32_t;
3937
typedef signed long long int64_t;
4038
typedef unsigned long long uint64_t;
4139

42-
typedef unsigned char kbool;
40+
typedef _Bool kbool;
4341
#define KFALSE 0
4442
#define KTRUE 1

0 commit comments

Comments
 (0)