aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-tools_gn_src_base_files_file__util.h
blob: 910d80aa09c69cfce0c7b2992eaedfd5f7bcac0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- tools/gn/src/base/files/file_util.h.orig	2020-03-16 18:48:21 UTC
+++ tools/gn/src/base/files/file_util.h
@@ -325,7 +325,7 @@ bool VerifyPathControlledByAdmin(const base::FilePath&
 // the directory |path|, in the number of FilePath::CharType, or -1 on failure.
 int GetMaximumPathComponentLength(const base::FilePath& path);
 
-#if defined(OS_LINUX) || defined(OS_AIX)
+#if defined(OS_LINUX) || defined(OS_AIX) || defined(OS_BSD)
 // Broad categories of file systems as returned by statfs() on Linux.
 enum FileSystemType {
   FILE_SYSTEM_UNKNOWN,   // statfs failed.