|
|
@@ -1,11 +1,44 @@
|
|
|
---- src/current/iozone.c.orig Sat Jun 15 21:06:04 2002
|
|
|
-+++ src/current/iozone.c Sat Jun 15 21:06:10 2002
|
|
|
-@@ -787,7 +787,7 @@
|
|
|
+--- src/current/iozone.c Wed Jun 26 23:45:45 2002
|
|
|
++++ src/current/iozone.c.orig Mon Jul 1 16:06:47 2002
|
|
|
+@@ -782,7 +782,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)
|
|
|
+-#if defined(linux) || defined(solaris) || defined(__AIX__) || defined(OSFV5) || defined(UWIN) || defined(Windows)
|
|
|
+#ifdef HAVE_ANSIC_C
|
|
|
float do_compute(float); /* compute cycle simulation */
|
|
|
#else
|
|
|
float do_compute(); /* compute cycle simulation */
|
|
|
+@@ -13030,27 +13030,27 @@
|
|
|
+ }
|
|
|
+
|
|
|
+ #ifndef ASYNC_IO
|
|
|
+-async_read()
|
|
|
++int async_read()
|
|
|
+ {
|
|
|
+ printf("Your system does not support async I/O\n");
|
|
|
+ exit(169);
|
|
|
+ }
|
|
|
+-async_write_no_copy()
|
|
|
++size_t async_write_no_copy()
|
|
|
+ {
|
|
|
+ printf("Your system does not support async I/O\n");
|
|
|
+ exit(170);
|
|
|
+ }
|
|
|
+-async_write()
|
|
|
++size_t async_write()
|
|
|
+ {
|
|
|
+ printf("Your system does not support async I/O\n");
|
|
|
+ exit(171);
|
|
|
+ }
|
|
|
+-async_read_no_copy()
|
|
|
++int async_read_no_copy()
|
|
|
+ {
|
|
|
+ printf("Your system does not support async I/O\n");
|
|
|
+ exit(172);
|
|
|
+ }
|
|
|
+-async_release()
|
|
|
++void async_release()
|
|
|
+ {
|
|
|
+ printf("Your system does not support async I/O\n");
|
|
|
+ exit(173);
|