First snapshot of FIO for Windows
[fio.git] / file.h
diff --git a/file.h b/file.h
index ebef6452d5d82b448faee05b7ef9da0be8e7ec16..994d5fd0c828bd8de6c6c39bce44e42d45e11d8f 100644 (file)
--- a/file.h
+++ b/file.h
@@ -47,11 +47,12 @@ struct fio_file {
        struct flist_head hash_list;
        enum fio_filetype filetype;
 
        struct flist_head hash_list;
        enum fio_filetype filetype;
 
-       /*
-        * A file may not be a file descriptor, let the io engine decide
-        */
-       unsigned long file_data;
+       void *file_data;
        int fd;
        int fd;
+#ifdef __CYGWIN__
+       HANDLE hFile;
+       HANDLE ioCP;
+#endif
 
        /*
         * filename and possible memory mapping
 
        /*
         * filename and possible memory mapping