From 905fe7134153164bc7ae633250ee7511edb81e26 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Sat, 10 Sep 2011 08:51:48 -0700 Subject: [PATCH] unix: fix a compiler warning --- src/unix/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/fs.c b/src/unix/fs.c index 9f15db83..0623fe6b 100644 --- a/src/unix/fs.c +++ b/src/unix/fs.c @@ -504,11 +504,11 @@ static int _futime(const uv_file file, double atime, double mtime) { int uv_fs_futime(uv_loop_t* loop, uv_fs_t* req, uv_file file, double atime, double mtime, uv_fs_cb cb) { +#if defined(HAVE_FUTIMES) const char* path = NULL; uv_fs_req_init(loop, req, UV_FS_FUTIME, path, cb); -#if defined(HAVE_FUTIMES) WRAP_EIO(UV_FS_FUTIME, eio_futime, _futime, ARGS3(file, atime, mtime)) #else uv_err_new(loop, ENOSYS);