svn commit: r251098 - head/sys/contrib/dev/ath/ath_hal/ar9300

John Baldwin jhb at freebsd.org
Thu May 30 12:18:52 UTC 2013


On Wednesday, May 29, 2013 1:58:44 pm Adrian Chadd wrote:
> No, it actually failed to compile at all on some older 9-stable laptops..
> 
> Hence my confusion.

<sys/types.h> defines the bool type in HEAD in the KERNEL:

#ifdef _KERNEL
...
#if !defined(__bool_true_false_are_defined) && !defined(__cplusplus)
#define __bool_true_false_are_defined   1
#define false   0
#define true    1
#if __STDC_VERSION__ < 199901L && __GNUC__ < 3 && !defined(__INTEL_COMPILER)
typedef int     _Bool;
#endif
typedef _Bool   bool;
#endif /* !__bool_true_false_are_defined && !__cplusplus */
...

-- 
John Baldwin


More information about the svn-src-head mailing list