Put bool into stdbool.h
This commit is contained in:
parent
b24035c51f
commit
c8abe9e1aa
2 changed files with 8 additions and 2 deletions
8
kern/libkern/stdbool.h
Normal file
8
kern/libkern/stdbool.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#ifndef _STDBOOL_H
|
||||
#define _STDBOOL_H
|
||||
|
||||
/*TODO*/
|
||||
typedef char bool;
|
||||
enum { false = 0, true = 1 };
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue