Skip to content

Commit 9cef7c7

Browse files
finagolfindmbryson
authored andcommitted
Import new Android overlay
1 parent 20b8093 commit 9cef7c7

File tree

5 files changed

+11
-1
lines changed

5 files changed

+11
-1
lines changed

products/llbuildSwift/BuildDBBindings.swift

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ import WinSDK
1717
import Glibc
1818
#elseif canImport(Musl)
1919
import Musl
20+
#elseif canImport(Android)
21+
import Android
2022
#else
2123
#error("Missing libc or equivalent")
2224
#endif

products/llbuildSwift/BuildKey.swift

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ import WinSDK
1717
import Glibc
1818
#elseif canImport(Musl)
1919
import Musl
20+
#elseif canImport(Android)
21+
import Android
2022
#else
2123
#error("Missing libc or equivalent")
2224
#endif

products/llbuildSwift/BuildSystemBindings.swift

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ import WinSDK
1717
import Glibc
1818
#elseif canImport(Musl)
1919
import Musl
20+
#elseif canImport(Android)
21+
import Android
2022
#else
2123
#error("Missing libc or equivalent")
2224
#endif
@@ -1235,7 +1237,7 @@ public final class BuildSystem {
12351237
#elseif os(Windows)
12361238
info.pointee.mod_time.seconds = UInt64(s.st_mtime)
12371239
info.pointee.mod_time.nanoseconds = 0
1238-
#elseif canImport(Glibc) || canImport(Musl)
1240+
#elseif canImport(Glibc) || canImport(Musl) || canImport(Android)
12391241
info.pointee.mod_time.seconds = UInt64(s.st_mtim.tv_sec)
12401242
info.pointee.mod_time.nanoseconds = UInt64(s.st_mtim.tv_nsec)
12411243
#else

products/llbuildSwift/BuildValue.swift

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ import WinSDK
1717
import Glibc
1818
#elseif canImport(Musl)
1919
import Musl
20+
#elseif canImport(Android)
21+
import Android
2022
#else
2123
#error("Missing libc or equivalent")
2224
#endif

products/llbuildSwift/Internals.swift

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ import WinSDK
1717
import Glibc
1818
#elseif canImport(Musl)
1919
import Musl
20+
#elseif canImport(Android)
21+
import Android
2022
#else
2123
#error("Missing libc or equivalent")
2224
#endif

0 commit comments

Comments
 (0)