Browse Source

Fix missing prototype warnings.

v0.7.4-release
Peter Bright 14 years ago
committed by Ryan Dahl
parent
commit
bcff53dfb5
  1. 5
      deps/uv/src/eio/eio.c

5
deps/uv/src/eio/eio.c

@ -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)

Loading…
Cancel
Save