Skip to content
Snippets Groups Projects
Commit fd211e16 authored by Rosen Penev's avatar Rosen Penev Committed by Hauke Mehrtens
Browse files

iperf: Fix compilation with libcxx


Avoids redefining bool.

Signed-off-by: default avatarRosen Penev <rosenp@gmail.com>
parent 6041eb95
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ...@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=iperf PKG_NAME:=iperf
PKG_VERSION:=2.0.13 PKG_VERSION:=2.0.13
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_HASH:=c88adec966096a81136dda91b4bd19c27aae06df4d45a7f547a8e50d723778ad PKG_HASH:=c88adec966096a81136dda91b4bd19c27aae06df4d45a7f547a8e50d723778ad
......
--- a/config.h.in
+++ b/config.h.in
@@ -360,7 +360,9 @@
#undef _REENTRANT
/* */
+#ifndef __cplusplus
#undef bool
+#endif
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment