projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79d9f62
)
Fix missing prototype warnings.
author
Peter Bright
<drpizza@quiscalusmexicanus.org>
Sun, 7 Aug 2011 17:44:11 +0000
(18:44 +0100)
committer
Ryan Dahl
<ry@tinyclouds.org>
Sun, 7 Aug 2011 21:22:34 +0000
(14:22 -0700)
deps/uv/src/eio/eio.c
patch
|
blob
|
history
diff --git
a/deps/uv/src/eio/eio.c
b/deps/uv/src/eio/eio.c
index c8d1e018026fd73154b6faa78c59709dc100567f..dc694743296d6759e4b50b4c37ace16e3b46d2c6 100644
(file)
--- a/
deps/uv/src/eio/eio.c
+++ b/
deps/uv/src/eio/eio.c
@@
-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)