From 5c78e8b296bd9b0c93571d32b761fa846239714f Mon Sep 17 00:00:00 2001 From: jeanlucmargot Date: Wed, 13 Oct 2021 22:05:05 -0700 Subject: [PATCH] Add pre-processing conditional directive to ensure that we don't attempt to type-define bool twice --- include/ifm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ifm.h b/include/ifm.h index 700ca8c69..11366d6b5 100644 --- a/include/ifm.h +++ b/include/ifm.h @@ -25,7 +25,7 @@ typedef struct { unsigned char blue; } RGBDATA; -#if __GNUC__ < 7 +#if __GNUC__ < 7 && !defined(bool) #ifndef __bool_var #define __bool_var typedef int bool;