Add configure script
[fio.git] / ioengines.c
index c2a64cb092786519746ef82111e19bd1a79300fb..a87175a23aa74999999ec18a64edf823e84aff90 100644 (file)
@@ -503,7 +503,7 @@ int do_io_u_sync(struct thread_data *td, struct io_u *io_u)
        if (io_u->ddir == DDIR_SYNC) {
                ret = fsync(io_u->file->fd);
        } else if (io_u->ddir == DDIR_DATASYNC) {
-#ifdef FIO_HAVE_FDATASYNC
+#ifdef CONFIG_FDATASYNC
                ret = fdatasync(io_u->file->fd);
 #else
                ret = io_u->xfer_buflen;