FIO Windows update
[fio.git] / os / os-mac.h
index 1b786f832f0911f7844774343cc4b70ab30171e7..39a2f827408fd25bf30172e05921908170bef180 100644 (file)
@@ -13,6 +13,7 @@
 #endif
 
 #define FIO_HAVE_POSIXAIO
 #endif
 
 #define FIO_HAVE_POSIXAIO
+#define FIO_HAVE_CLOCK_MONOTONIC
 #define FIO_USE_GENERIC_BDEV_SIZE
 #define FIO_USE_GENERIC_RAND
 
 #define FIO_USE_GENERIC_BDEV_SIZE
 #define FIO_USE_GENERIC_RAND
 
@@ -21,7 +22,7 @@
 typedef unsigned int clockid_t;
 typedef off_t off64_t;
 
 typedef unsigned int clockid_t;
 typedef off_t off64_t;
 
-static inline int blockdev_invalidate_cache(int fd)
+static inline int blockdev_invalidate_cache(struct fio_file fio_unused *f)
 {
        return EINVAL;
 }
 {
        return EINVAL;
 }