2015-04-11 07:44:37 +08:00
|
|
|
/* stdbool.h */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
|
|
*
|
2017-01-19 09:01:01 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2015-04-11 07:44:37 +08:00
|
|
|
*/
|
|
|
|
|
2018-09-15 01:43:44 +08:00
|
|
|
#ifndef ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_STDBOOL_H_
|
|
|
|
#define ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_STDBOOL_H_
|
2015-04-11 07:44:37 +08:00
|
|
|
|
2015-12-18 00:04:31 +08:00
|
|
|
#ifndef __cplusplus
|
2015-04-11 07:44:37 +08:00
|
|
|
#define bool _Bool
|
|
|
|
#define true 1
|
|
|
|
#define false 0
|
2015-12-18 00:04:31 +08:00
|
|
|
#endif
|
2015-04-11 07:44:37 +08:00
|
|
|
|
|
|
|
#define __bool_true_false_are_defined 1
|
|
|
|
|
2018-09-15 01:43:44 +08:00
|
|
|
#endif /* ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_STDBOOL_H_ */
|