summaryrefslogtreecommitdiff
path: root/src/include/stdbool.h
blob: 2eeb70ef5bbe4aaca4fa39c0b97c79773634b60d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __STDBOOL_H__
#define __STDBOOL_H__

#include <stdint.h>

#ifdef __ROMCC__
typedef uint8_t bool;
#else
typedef _Bool   bool;
#endif
#define true    1
#define false   0

#endif /* __STDBOOL_H__ */