mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Fix missing prototype warnings.
This commit is contained in:
1 parent
79d9f62946
commit
bcff53dfb5
1 file changed
+5
Vendored
+5
@@ -110,6 +110,8 @@ static void eio_destroy (eio_req *req);
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#include <direct.h>
|
||||
|
||||
#undef PAGESIZE
|
||||
#define PAGESIZE 4096 /* GetSystemInfo? */
|
||||
|
||||
@@ -140,6 +142,9 @@ static void eio_destroy (eio_req *req);
|
||||
#define statvfs(path,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 */
|
||||
#define rename(old,neu) eio__rename (old, neu)
|
||||
|
||||
|
||||
Reference in new issue
Block a user