1 /*
2  * Copyright (c) 2017 TDK Invensense
3  *
4  * SPDX-License-Identifier: BSD 3-Clause
5  */
6 
7 /** @brief    Custom definition for boolean type to avoid compiler disrepenrencies
8  *	@{
9  */
10 
11 #ifndef _INV_BOOL_H_
12 #define _INV_BOOL_H_
13 
14 typedef int inv_bool_t;
15 
16 #ifndef __cplusplus
17 
18 #ifndef true
19 	#define true    1
20 #endif
21 
22 #ifndef false
23 	#define false   0
24 #endif
25 
26 #endif /* __cplusplus */
27 
28 #endif /* _INV_BOOL_H_ */
29 
30 /** @} */
31