diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2016-04-08 16:29:21 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2016-04-08 16:29:21 +0000 |
commit | a57c6c85e72f3323b605c5be9e8fbb1b0d19b47b (patch) | |
tree | 4e0c33c05aba1280bcddfe46c2a771ea0c919c16 /benchmarks | |
parent | - Fix build with libc++ 3.8.0 (diff) |
- Fix build with libc++ 3.8.0
PR: 208491
Submitted by: dim
Notes
Notes:
svn path=/head/; revision=412773
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 |