From f90045602bbfe6c7db7ca04baca95a0dd9bd746e Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 24 Oct 2020 23:21:18 +0000 Subject: [PATCH] Remove support for ancient compilers We don't support building the kernel from such old compilers, nor with the Intel Compiler specifically. Remove support for this old construct that was copied from stdbool.h and not relevant here. --- sys/dev/bxe/ecore_sp.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/bxe/ecore_sp.h b/sys/dev/bxe/ecore_sp.h index 86f8e012550..af4fac84a9a 100644 --- a/sys/dev/bxe/ecore_sp.h +++ b/sys/dev/bxe/ecore_sp.h @@ -75,9 +75,6 @@ typedef volatile int ecore_atomic_t; #ifndef __bool_true_false_are_defined #ifndef __cplusplus #define bool _Bool -#if __STDC_VERSION__ < 199901L && __GNUC__ < 3 && !defined(__INTEL_COMPILER) -typedef _Bool bool; -#endif #endif /* !__cplusplus */ #endif /* !__bool_true_false_are_defined$ */