diff --git a/src/unix/fs.c b/src/unix/fs.c index 6b7ac6c5..f9181df1 100644 --- a/src/unix/fs.c +++ b/src/unix/fs.c @@ -187,11 +187,7 @@ static ssize_t uv__fs_read(uv_fs_t* req) { } -#if defined(__APPLE__) || defined(__OpenBSD__) -static int uv__fs_readdir_filter(struct dirent* dent) { -#else static int uv__fs_readdir_filter(const struct dirent* dent) { -#endif return strcmp(dent->d_name, ".") != 0 && strcmp(dent->d_name, "..") != 0; }