commit | 7a1bbd4d7339c76b46d0f4fba4a80adaf713bfac | [log] [tgz] |
---|---|---|
author | Nuno Lopes <nunoplopes@sapo.pt> | Thu Mar 09 13:43:31 2017 +0000 |
committer | Nuno Lopes <nunoplopes@sapo.pt> | Thu Mar 09 13:43:31 2017 +0000 |
tree | db78a8848cc5db10a77ed7c21eb9be32f06f375d | |
parent | ab0d1e4a2f54699df9169fb3912dd524feeb9b31 [diff] [blame] |
fix build on Cygwin llvm-svn: 297378
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc index 568b1b4..43549c0 100644 --- a/llvm/lib/Support/Unix/Path.inc +++ b/llvm/lib/Support/Unix/Path.inc
@@ -372,6 +372,9 @@ 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