diff options
-rw-r--r-- | linux/src/drivers/scsi/BusLogic.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/src/drivers/scsi/BusLogic.h b/linux/src/drivers/scsi/BusLogic.h index f60ee071..7b2644a6 100644 --- a/linux/src/drivers/scsi/BusLogic.h +++ b/linux/src/drivers/scsi/BusLogic.h @@ -311,8 +311,11 @@ BusLogic_BIOS_DiskGeometryTranslation_T; /* Define a Boolean data type. */ - +#if defined(__bool_true_false_are_defined) || __STDC_VERSION__ > 201710L +typedef bool boolean; +#else typedef enum { false, true } __attribute__ ((packed)) boolean; +#endif /* |