diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2016-04-09 00:29:21 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2016-04-09 00:29:21 +0800 |
commit | cc3e11dc72ed2c008979adab6c62e802a1e78d1e (patch) | |
tree | 4e0c33c05aba1280bcddfe46c2a771ea0c919c16 /benchmarks | |
parent | 47248fe5adc9dbf9911ec97dada60dcd6ac2cc50 (diff) | |
download | freebsd-ports-gnome-cc3e11dc72ed2c008979adab6c62e802a1e78d1e.tar.gz freebsd-ports-gnome-cc3e11dc72ed2c008979adab6c62e802a1e78d1e.tar.zst freebsd-ports-gnome-cc3e11dc72ed2c008979adab6c62e802a1e78d1e.zip |
- Fix build with libc++ 3.8.0
PR: 208491
Submitted by: dim
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/iperf/files/patch-config.h.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/benchmarks/iperf/files/patch-config.h.in b/benchmarks/iperf/files/patch-config.h.in new file mode 100644 index 000000000000..62f31a0e1eca --- /dev/null +++ b/benchmarks/iperf/files/patch-config.h.in @@ -0,0 +1,12 @@ +--- config.h.in.orig 2010-04-10 19:23:05 UTC ++++ config.h.in +@@ -268,7 +268,9 @@ + #undef _REENTRANT + + /* */ ++#ifndef __cplusplus + #undef bool ++#endif + + /* Define to empty if `const' does not conform to ANSI C. */ + #undef const |