diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2017-03-09 13:43:31 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2017-03-09 13:43:31 +0000 |
commit | 7a1bbd4d7339c76b46d0f4fba4a80adaf713bfac (patch) | |
tree | db78a8848cc5db10a77ed7c21eb9be32f06f375d /llvm/lib/Support | |
parent | ab0d1e4a2f54699df9169fb3912dd524feeb9b31 (diff) | |
download | bcm5719-llvm-7a1bbd4d7339c76b46d0f4fba4a80adaf713bfac.tar.gz bcm5719-llvm-7a1bbd4d7339c76b46d0f4fba4a80adaf713bfac.zip |
fix build on Cygwin
llvm-svn: 297378
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/Unix/Path.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc index 568b1b4c153..43549c0f564 100644 --- a/llvm/lib/Support/Unix/Path.inc +++ b/llvm/lib/Support/Unix/Path.inc @@ -372,6 +372,9 @@ static bool is_local_impl(struct STATVFS &Vfs) { default: return true; } +#elif defined(__CYGWIN__) + // Cygwin doesn't expose this information; would need to use Win32 API. + return false; #else return !!(STATVFS_F_FLAG(Vfs) & MNT_LOCAL); #endif |