]> git.sur5r.net Git - cc65/blob - include/stdbool.h
Fixed _textcolor definition.
[cc65] / include / stdbool.h
1 /*****************************************************************************/
2 /*                                                                           */
3 /*                                 stdbool.h                                 */
4 /*                                                                           */
5 /*                          C99 Boolean definitions                          */
6 /*                                                                           */
7 /*                                                                           */
8 /*                                                                           */
9 /* (C) 2002 Greg King                                                        */
10 /*                                                                           */
11 /*                                                                           */
12 /* This software is provided "as-is," without any expressed or implied       */
13 /* warranty.  In no event will the authors be held liable for any damages    */
14 /* arising from the use of this software.                                    */
15 /*                                                                           */
16 /* Permission is granted to anyone to use this software for any purpose,     */
17 /* including commercial applications, and to alter and redistribute it       */
18 /* freely, subject to the following restrictions:                            */
19 /*                                                                           */
20 /* 1. The origin of this software must not be misrepresented; you must not   */
21 /*    claim that you wrote the original software.  If you use this software  */
22 /*    in a product, an acknowledgment, in the product's documentation,       */
23 /*    would be appreciated, but is not required.                             */
24 /* 2. Alterred source versions must be marked plainly as such,               */
25 /*    and must not be misrepresented as being the original software.         */
26 /* 3. This notice may not be removed or alterred                             */
27 /*    from any source distribution.                                          */
28 /*****************************************************************************/
29
30
31
32 #ifndef _STDBOOL_H
33 #define _STDBOOL_H
34
35
36
37 #define bool _Bool
38 typedef unsigned char _Bool;
39
40 /* Standard test-results. */
41 #define false 0
42 #define true  1
43
44 /* All three names are macroes. */
45 #define __bool_true_false_are_defined 1
46
47
48
49 /* End of stdbool.h */
50 #endif
51
52
53