summaryrefslogtreecommitdiff
path: root/benchmarks/bonnie++/files/patch-getc_putc.cpp
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-11-22 00:46:43 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-11-22 00:46:43 +0000
commitd53f53c3b1cc126d4a5daab1c0f58fd04bb39b16 (patch)
tree719eb025b8e95c4be83724a77817adbc3e8b703b /benchmarks/bonnie++/files/patch-getc_putc.cpp
parent- Update to 2.1.5 (diff)
- Our other two 64-bit platforms needs min(int, int) workaround too
- Unmark broken as it builds on Bento at least for i386. I got some feedback that it builds with gcc 3.3.3, but not with 3.3.1 Tested by: Koop Mast (on sparc64) Approved by: adamw (mentor)
Diffstat (limited to 'benchmarks/bonnie++/files/patch-getc_putc.cpp')
-rw-r--r--benchmarks/bonnie++/files/patch-getc_putc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/bonnie++/files/patch-getc_putc.cpp b/benchmarks/bonnie++/files/patch-getc_putc.cpp
index fbabf3e53905..bad9550b0938 100644
--- a/benchmarks/bonnie++/files/patch-getc_putc.cpp
+++ b/benchmarks/bonnie++/files/patch-getc_putc.cpp
@@ -4,7 +4,7 @@
#include "duration.h"
#include "getc_putc.h"
-+#if defined(__alpha__) || defined(__sparc64__)
++#if defined(__alpha__) || defined(__sparc64__) || defined(__amd64__) || defined(__ia64__)
+/* Work around for: line 168, no matching function for call to `min(long unsigned int, unsigned int)' */
+#include <sys/param.h>
+#define min MIN