aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iperf/patches/010-libcxx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/utils/iperf/patches/010-libcxx.patch')
-rw-r--r--package/network/utils/iperf/patches/010-libcxx.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/network/utils/iperf/patches/010-libcxx.patch b/package/network/utils/iperf/patches/010-libcxx.patch
new file mode 100644
index 0000000000..cf0124232f
--- /dev/null
+++ b/package/network/utils/iperf/patches/010-libcxx.patch
@@ -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