openbsd-ports/benchmarks/iozone/patches/patch-iozone_c
2000-05-29 05:10:54 +00:00

13 lines
240 B
Plaintext

--- iozone.c.orig Tue Sep 14 17:38:16 1999
+++ iozone.c Mon May 29 00:42:45 2000
@@ -196,7 +196,9 @@
#endif
#if defined (__FreeBSD__) || defined(__OpenBSD__)
+#ifndef O_SYNC
#define O_SYNC O_FSYNC
+#endif
#endif
#ifndef MAP_FAILED