summaryrefslogtreecommitdiffhomepage
path: root/test/util/fs_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/util/fs_util.h')
-rw-r--r--test/util/fs_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/util/fs_util.h b/test/util/fs_util.h
index 044190657..314637de0 100644
--- a/test/util/fs_util.h
+++ b/test/util/fs_util.h
@@ -179,10 +179,10 @@ std::string CleanPath(absl::string_view path);
// Returns the full path to the executable of the given pid or a PosixError.
PosixErrorOr<std::string> ProcessExePath(int pid);
-#ifndef __fuchsia__
+#ifdef __linux__
// IsTmpfs returns true if the file at path is backed by tmpfs.
PosixErrorOr<bool> IsTmpfs(const std::string& path);
-#endif // __fucshia__
+#endif // __linux__
namespace internal {
// Not part of the public API.