Re: [Openvpn-devel] [PATCH] build: use stdbool.h if available

2012-04-28 Thread Gert Doering
Hi, On Fri, Apr 27, 2012 at 01:28:31AM +0300, Alon Bar-Lev wrote: > On Fri, Apr 27, 2012 at 1:27 AM, Alon Bar-Lev wrote: > > If stdbool.h is available use it, otherwise create emulation. [..] > I took the easy approach. > I think this is the simplest it can be. Even if David has already committe

Re: [Openvpn-devel] [PATCH] build: use stdbool.h if available

2012-04-27 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27/04/12 14:09, Alon Bar-Lev wrote: > If stdbool.h is available use it, otherwise create emulation. > > basic.h defines a type 'bool' that conflicts with the altivec > keyword bool which has to be fixed upstream, see bugs[1][2]. > > [1] https://bu

Re: [Openvpn-devel] [PATCH] build: use stdbool.h if available

2012-04-27 Thread Alon Bar-Lev
On Fri, Apr 27, 2012 at 3:09 PM, Alon Bar-Lev wrote: > --- a/src/compat/Makefile.am > +++ b/src/compat/Makefile.am > @@ -20,6 +20,7 @@ noinst_LTLIBRARIES = libcompat.la > >  libcompat_la_SOURCES = \ >        compat.h \ > +       compat-stdbool.h \ >        compat-dirname.c \ >        compat-basena

[Openvpn-devel] [PATCH] build: use stdbool.h if available

2012-04-27 Thread Alon Bar-Lev
If stdbool.h is available use it, otherwise create emulation. basic.h defines a type 'bool' that conflicts with the altivec keyword bool which has to be fixed upstream, see bugs[1][2]. [1] https://bugs.gentoo.org/show_bug.cgi?id=293840 [2] https://bugs.gentoo.org/show_bug.cgi?id=297854 Signed-of

Re: [Openvpn-devel] [PATCH] build: use stdbool.h if available

2012-04-26 Thread Alon Bar-Lev
On Fri, Apr 27, 2012 at 1:27 AM, Alon Bar-Lev wrote: > If stdbool.h is available use it, otherwise create emulation. > > basic.h defines a type 'bool' that conflicts with > the altivec keyword bool which has to be fixed upstream, see > bugs[1][2]. > > [1] https://bugs.gentoo.org/show_bug.cgi?id=29

[Openvpn-devel] [PATCH] build: use stdbool.h if available

2012-04-26 Thread Alon Bar-Lev
If stdbool.h is available use it, otherwise create emulation. basic.h defines a type 'bool' that conflicts with the altivec keyword bool which has to be fixed upstream, see bugs[1][2]. [1] https://bugs.gentoo.org/show_bug.cgi?id=293840 [2] https://bugs.gentoo.org/show_bug.cgi?id=297854 Signed-of