/[osn-commons]/trunk/plibc/lib/stdbool.h
ViewVC logotype

Contents of /trunk/plibc/lib/stdbool.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 51 - (show annotations)
Fri Aug 16 18:34:43 2024 UTC (7 months, 2 weeks ago) by rakinar2
File MIME type: text/x-c
File size: 366 byte(s)
feat: add basic utilities and more system calls

1 #ifndef PLIBC_STDBOOL_H
2 #define PLIBC_STDBOOL_H
3
4 #if defined(_Bool)
5 # define bool _Bool
6 #elif defined(__bool_true_false_are_defined)
7 # define bool bool
8 #else
9 # define bool unsigned char
10 #endif
11
12 #if !defined(__bool_true_false_are_defined)
13 # define true 1
14 # define false 0
15 # define __bool_true_false_are_defined 1
16 #endif
17
18 #endif /* PLIBC_STDBOOL_H */

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26