Skip to content

Commit 7c1df38

Browse files
committed
Compile error for boolean
1 parent 90aecb1 commit 7c1df38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ extern "C" {
4646

4747
/* Exported types ------------------------------------------------------------*/
4848
/* USER CODE BEGIN ET */
49+
#ifndef __cplusplus
4950
typedef int boolean;
50-
51+
#endif
5152
/* USER CODE END ET */
5253

5354
/* Exported constants --------------------------------------------------------*/

0 commit comments

Comments
 (0)