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