|
@ -110,6 +110,8 @@ static void eio_destroy (eio_req *req); |
|
|
|
|
|
|
|
|
#ifdef _WIN32 |
|
|
#ifdef _WIN32 |
|
|
|
|
|
|
|
|
|
|
|
#include <direct.h> |
|
|
|
|
|
|
|
|
#undef PAGESIZE |
|
|
#undef PAGESIZE |
|
|
#define PAGESIZE 4096 /* GetSystemInfo? */ |
|
|
#define PAGESIZE 4096 /* GetSystemInfo? */ |
|
|
|
|
|
|
|
@ -140,6 +142,9 @@ static void eio_destroy (eio_req *req); |
|
|
#define statvfs(path,buf) EIO_ENOSYS () |
|
|
#define statvfs(path,buf) EIO_ENOSYS () |
|
|
#define fstatvfs(fd,buf) EIO_ENOSYS () |
|
|
#define fstatvfs(fd,buf) EIO_ENOSYS () |
|
|
|
|
|
|
|
|
|
|
|
#define getcwd(buf,s) _getcwd(buf, s) |
|
|
|
|
|
#define rmdir(path) _rmdir(path) |
|
|
|
|
|
|
|
|
/* rename() uses MoveFile, which fails to overwrite */ |
|
|
/* rename() uses MoveFile, which fails to overwrite */ |
|
|
#define rename(old,neu) eio__rename (old, neu) |
|
|
#define rename(old,neu) eio__rename (old, neu) |
|
|
|
|
|
|
|
|