summaryrefslogtreecommitdiff
path: root/eio.h
diff options
context:
space:
mode:
authorroot <root>2011-07-14 19:19:22 +0000
committerroot <root>2011-07-14 19:19:22 +0000
commitc6878ac123f343a2fd7d286108ff897918678c6a (patch)
treee952dffdc44ea9e1ffc9e00cae7240592acf27bc /eio.h
parent9f75ac1c181cd5726a5e67abc9d00088d9d41aed (diff)
*** empty log message ***
Diffstat (limited to 'eio.h')
-rw-r--r--eio.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/eio.h b/eio.h
index 9be7327..e99f0d6 100644
--- a/eio.h
+++ b/eio.h
@@ -58,7 +58,12 @@ typedef int (*eio_cb)(eio_req *req);
#endif
#ifndef EIO_STRUCT_STAT
-# define EIO_STRUCT_STAT struct stat
+# ifdef _WIN32
+# define EIO_STRUCT_STAT struct _stati64
+# define EIO_STRUCT_STATI64
+# else
+# define EIO_STRUCT_STAT struct stat
+# endif
#endif
#ifndef EIO_STRUCT_STATVFS