git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feat: nearly complete POSIX.1-2008 compliant terminal interface implementation
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
types.h
diff --git
a/lunaix-os/includes/lunaix/types.h
b/lunaix-os/includes/lunaix/types.h
index a6af3c10b99ffa7577af409457409c03cdeed999..b6799813d3b4102e66a8c5aeb3e2420ae63e1fd2 100644
(file)
--- a/
lunaix-os/includes/lunaix/types.h
+++ b/
lunaix-os/includes/lunaix/types.h
@@
-27,6
+27,10
@@
typedef unsigned int cpu_t;
typedef u64_t lba_t;
+#define true 1
+#define false 0
+typedef int bool;
+
/**
* container_of - cast a member of a structure out to the containing structure
*