dll: fuse: ENOSYS has different values on Windows vs Cygwin

This commit is contained in:
Bill Zissimopoulos
2018-07-16 09:42:15 -07:00
parent e3290a30bc
commit e4077c92e9
6 changed files with 30 additions and 1 deletions

View File

@ -383,7 +383,7 @@ static NTSTATUS fsp_fuse_svcstart(FSP_SERVICE *Service, ULONG argc, PWSTR *argv)
/* this should always fail with ENOSYS or EINVAL */
err = f->ops.readlink("/", buf, sizeof buf);
f->has_symlinks = -ENOSYS != err;
f->has_symlinks = -enosys(f->env) != err;
}
/* the FSD does not currently limit these VolumeParams fields; do so here! */