forked from OSchip/llvm-project
parent
ab0d1e4a2f
commit
7a1bbd4d73
|
@ -372,6 +372,9 @@ static bool is_local_impl(struct STATVFS &Vfs) {
|
||||||
default:
|
default:
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#elif defined(__CYGWIN__)
|
||||||
|
// Cygwin doesn't expose this information; would need to use Win32 API.
|
||||||
|
return false;
|
||||||
#else
|
#else
|
||||||
return !!(STATVFS_F_FLAG(Vfs) & MNT_LOCAL);
|
return !!(STATVFS_F_FLAG(Vfs) & MNT_LOCAL);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue