summaryrefslogtreecommitdiff
path: root/benchmarks/iozone/files/patch-ac
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2002-11-03 22:59:43 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2002-11-03 22:59:43 +0000
commit1f8d1998bb8d98cdce9b6cce1dd74716a4af0764 (patch)
treec393608ea2a8e778df7b774c4fbfb3af205169ea /benchmarks/iozone/files/patch-ac
parentRevamp this script: (diff)
Upgrade to version 3.137
Notes
Notes: svn path=/head/; revision=69385
Diffstat (limited to '')
-rw-r--r--benchmarks/iozone/files/patch-ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/benchmarks/iozone/files/patch-ac b/benchmarks/iozone/files/patch-ac
new file mode 100644
index 000000000000..5503f259a10b
--- /dev/null
+++ b/benchmarks/iozone/files/patch-ac
@@ -0,0 +1,20 @@
+--- iozone.c.orig Thu Oct 31 18:41:26 2002
++++ iozone.c Sun Nov 3 23:56:59 2002
+@@ -285,7 +285,7 @@
+ #endif
+
+ #ifdef unix
+-#ifdef __APPLE__
++#if defined (__APPLE__) || defined (__FreeBSD__)
+ #include <sys/time.h>
+ #endif
+ #include <sys/times.h>
+@@ -802,7 +802,7 @@
+ void throughput_test(); /* Multi process throughput */
+ void multi_throughput_test(); /* Multi process throughput */
+ void prepage(); /* Pre-fault user buffer */
+-#if defined(linux) || defined(solaris) || defined(__AIX__) || defined(OSFV5) || defined(UWIN) || defined(Windows) || defined(__APPLE__) || defined(OSFV4) || defined(IRIX) || defined(IRIX64)
++#if defined(linux) || defined(solaris) || defined(__AIX__) || defined(OSFV5) || defined(UWIN) || defined(Windows) || defined(__APPLE__) || defined(OSFV4) || defined(IRIX) || defined(IRIX64) || defined (__FreeBSD__)
+ float do_compute(float); /* compute cycle simulation */
+ #else
+ float do_compute(); /* compute cycle simulation */