Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2013 07:56:52 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Dimitry Andric <dim@freebsd.org>
Subject:   Re: svn commit: r251098 - head/sys/contrib/dev/ath/ath_hal/ar9300
Message-ID:  <201305300756.52601.jhb@freebsd.org>
In-Reply-To: <CAJ-VmokXGy96u6QUsu7CDoGyR5zAQZN7yobUFFZds8xfrmUmEA@mail.gmail.com>
References:  <201305290421.r4T4LgRc099595@svn.freebsd.org> <51A5E4DE.5060007@FreeBSD.org> <CAJ-VmokXGy96u6QUsu7CDoGyR5zAQZN7yobUFFZds8xfrmUmEA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305300756.52601.jhb>