]> git.ipfire.org Git - thirdparty/openvpn.git/commit
build: use stdbool.h if available
authorAlon Bar-Lev <alon.barlev@gmail.com>
Fri, 27 Apr 2012 12:09:15 +0000 (15:09 +0300)
committerDavid Sommerseth <davids@redhat.com>
Fri, 27 Apr 2012 22:09:46 +0000 (00:09 +0200)
commit4029971240b6274b9b30e76ff74c7f689d7d9750
tree02ee41e617185102cd9c79eae4e2dc172b4e863c
parent34091048af1ba94e8bf2049354610d16f8bb3d4c
build: use stdbool.h if available

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-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Acked-by: David Sommerseth <davids@redhat.com>
Message-Id: 1335528555-13225-1-git-send-email-alon.barlev@gmail.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/6363
Signed-off-by: David Sommerseth <davids@redhat.com>
configure.ac
src/compat/Makefile.am
src/compat/compat-stdbool.h [new file with mode: 0644]
src/openvpn/basic.h
src/openvpn/syshead.h