Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
stdbool.h
Go to the documentation of this file.
1/* stdbool.h */
2
3/*
4 * Copyright (c) 2014 Wind River Systems, Inc.
5 *
6 * SPDX-License-Identifier: Apache-2.0
7 */
8
9#ifndef ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_STDBOOL_H_
10#define ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_STDBOOL_H_
11
12#if !defined(__cplusplus) && __STDC_VERSION__ < 202311L
13#define bool _Bool
14#define true 1
15#define false 0
16#endif
17
18#define __bool_true_false_are_defined 1
19
20#endif /* ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_STDBOOL_H_ */