iperf: Fix compilation with libcxx
Avoids redefining bool. Signed-off-by: Rosen Penev <rosenp@gmail.com>master
parent
6041eb9547
commit
fd211e1677
@ -0,0 +1,12 @@
|
|||||||
|
--- 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
|
Loading…
Reference in New Issue