[PATCH 2/2] Haiku doesn't expose whether a FS is local or remote.
Alexander von Gluck IV via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 18 06:09:43 PDT 2018
From: Jerome Duval <jerome.duval at gmail.com>
---
lib/Support/Unix/Path.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/Support/Unix/Path.inc b/lib/Support/Unix/Path.inc
index b8fea5bda4f..d41d25fb2c9 100644
--- a/lib/Support/Unix/Path.inc
+++ b/lib/Support/Unix/Path.inc
@@ -368,6 +368,9 @@ static bool is_local_impl(struct STATVFS &Vfs) {
#elif defined(__CYGWIN__)
// Cygwin doesn't expose this information; would need to use Win32 API.
return false;
+#elif defined(__HAIKU__)
+ // Haiku doesn't expose this information
+ return false;
#elif defined(__Fuchsia__)
// Fuchsia doesn't yet support remote filesystem mounts.
return true;
--
2.17.1
More information about the llvm-commits
mailing list