Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 293840 | Differences between
and this patch

Collapse All | Expand All

(-)a/basic.h (-13 / +2 lines)
Lines 22-43 Link Here
22
 *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22
 *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23
 */
23
 */
24
24
25
#include <stdbool.h>
26
25
#ifndef BASIC_H
27
#ifndef BASIC_H
26
#define BASIC_H
28
#define BASIC_H
27
29
28
/* bool definitions */
29
#ifndef bool
30
#define bool int
31
#endif
32
33
#ifndef true
34
#define true 1
35
#endif
36
37
#ifndef false
38
#define false 0
39
#endif
40
41
#define BOOL_CAST(x) ((x) ? (true) : (false))
30
#define BOOL_CAST(x) ((x) ? (true) : (false))
42
31
43
/* size of an array */
32
/* size of an array */

Return to bug 293840