stddef: introduce true/false enum
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
7b2c0d1595
commit
80758d4083
|
@ -8,6 +8,11 @@
|
|||
#define NULL ((void *)0)
|
||||
#endif
|
||||
|
||||
enum {
|
||||
false = 0,
|
||||
true = 1
|
||||
};
|
||||
|
||||
#ifndef _SIZE_T
|
||||
#include <linux/types.h>
|
||||
#endif
|
||||
|
|
|
@ -97,9 +97,6 @@ typedef struct {
|
|||
#endif
|
||||
} connection_info_t;
|
||||
|
||||
#define false 0
|
||||
#define true 1
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue