svn commit: r367029 - head/sys/dev/bxe

Warner Losh imp at FreeBSD.org
Sat Oct 24 23:21:20 UTC 2020


Author: imp
Date: Sat Oct 24 23:21:18 2020
New Revision: 367029
URL: https://svnweb.freebsd.org/changeset/base/367029

Log:
  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.

Modified:
  head/sys/dev/bxe/ecore_sp.h

Modified: head/sys/dev/bxe/ecore_sp.h
==============================================================================
--- head/sys/dev/bxe/ecore_sp.h	Sat Oct 24 23:21:06 2020	(r367028)
+++ head/sys/dev/bxe/ecore_sp.h	Sat Oct 24 23:21:18 2020	(r367029)
@@ -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$ */
 


More information about the svn-src-all mailing list