From 6bc9e563f1c108f185f5bb4400c94794d7c7cebe Mon Sep 17 00:00:00 2001 From: astrelsky Date: Sun, 16 Feb 2020 10:23:56 -0500 Subject: [PATCH] Avoid bool redefinition if previously defined --- include/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/types.h b/include/types.h index 773533d..551e5d8 100644 --- a/include/types.h +++ b/include/types.h @@ -33,7 +33,7 @@ typedef signed int s32; typedef signed long long s64; /** One bit truth value */ -#ifndef __cplusplus +#if !defined __cplusplus && !defined bool typedef enum { false = 0, true = 1,