diff options
author | root <root> | 2011-07-14 19:19:22 +0000 |
---|---|---|
committer | root <root> | 2011-07-14 19:19:22 +0000 |
commit | c6878ac123f343a2fd7d286108ff897918678c6a (patch) | |
tree | e952dffdc44ea9e1ffc9e00cae7240592acf27bc /eio.c | |
parent | 9f75ac1c181cd5726a5e67abc9d00088d9d41aed (diff) |
*** empty log message ***
Diffstat (limited to 'eio.c')
-rw-r--r-- | eio.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -100,9 +100,11 @@ static void eio_destroy (eio_req *req); #define PAGESIZE 4096 /* GetSystemInfo? */ - #define stat(path,buf) _stati64 (path,buf) + #ifdef EIO_STRUCT_STATI64 + #define stat(path,buf) _stati64 (path,buf) + #define fstat(fd,buf) _fstati64 (path,buf) + #endif #define lstat(path,buf) stat (path,buf) - #define fstat(fd,buf) _fstati64 (path,buf) #define fsync(fd) (FlushFileBuffers (EIO_FD_TO_WIN32_HANDLE (fd)) ? 0 : EIO_ERRNO (EBADF, -1)) #define mkdir(path,mode) _mkdir (path) #define link(old,neu) (CreateHardLink (neu, old, 0) ? 0 : EIO_ERRNO (ENOENT, -1)) |