Fix configure script for 64-bit Windows.
[fio.git] / engines / windowsaio.c
index edc390cfddb327d47bcb340ea86b732831876f66..773f027c0e424000cbeaf1137fd44fb04e148798 100644 (file)
@@ -126,13 +126,6 @@ static int win_to_posix_error(DWORD winerr)
        return winerr;
 }
 
-int sync_file_range(int fd, off64_t offset, off64_t nbytes,
-                          unsigned int flags)
-{
-       errno = ENOSYS;
-       return -1;
-}
-
 static int fio_windowsaio_init(struct thread_data *td)
 {
        struct windowsaio_data *wd;
@@ -504,7 +497,7 @@ static int fio_windowsaio_io_u_init(struct thread_data *td, struct io_u *io_u)
        struct fio_overlapped *o;
 
        o = malloc(sizeof(*o));
-       o->io_complete = FALSE:
+       o->io_complete = FALSE;
        o->io_u = io_u;
        o->o.hEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
        if (!o->o.hEvent) {