We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef19b4f + 921f8e4 commit 1124863Copy full SHA for 1124863
Foundation/FileManager+POSIX.swift
@@ -7,7 +7,7 @@
7
//
8
#if !os(Windows)
9
10
-#if os(Android) // struct stat.st_mode is UInt32
+#if os(Android) && (arch(i386) || arch(arm)) // struct stat.st_mode is UInt32
11
internal func &(left: UInt32, right: mode_t) -> mode_t {
12
return mode_t(left) & right
13
}
Foundation/FileManager.swift
@@ -7,12 +7,6 @@
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
-internal func &(left: UInt32, right: mode_t) -> mode_t {
- return mode_t(left) & right
-}
14
-#endif
15
-
16
#if !canImport(Darwin) && !os(FreeBSD)
17
// The values do not matter as long as they are nonzero.
18
fileprivate let UF_IMMUTABLE: Int32 = 1
0 commit comments