Skip to content

Commit 50046d2

Browse files
TomoYamanakaadbridge
authored andcommitted
Fix redeclaration of type name "bool_t"
I fixed redeclaration of type name "bool_t" for target Renesas because this typedef has been defined in rtx_core_ca.h by #6273.
1 parent 9f5a9f6 commit 50046d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

targets/TARGET_RENESAS/TARGET_RZ_A1XX/common/r_typedefs.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ typedef double float64_t;
5151
Typedef definitions
5252
******************************************************************************/
5353
typedef char char_t;
54-
typedef int bool_t;
54+
#ifndef bool_t
55+
typedef bool bool_t;
56+
#endif
5557
typedef int int_t;
5658
typedef long double float128_t;
5759
typedef signed long long_t;

0 commit comments

Comments
 (0)