Skip to content

Commit

Permalink
Merge pull request #919 from finagolfin/droid
Browse files Browse the repository at this point in the history
Import new Android overlay
  • Loading branch information
owenv authored Jul 4, 2024
2 parents 876d013 + 33fc891 commit fb1a0ae
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions products/llbuildSwift/BuildDBBindings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import WinSDK
import Glibc
#elseif canImport(Musl)
import Musl
#elseif canImport(Android)
import Android
#else
#error("Missing libc or equivalent")
#endif
Expand Down
2 changes: 2 additions & 0 deletions products/llbuildSwift/BuildKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import WinSDK
import Glibc
#elseif canImport(Musl)
import Musl
#elseif canImport(Android)
import Android
#else
#error("Missing libc or equivalent")
#endif
Expand Down
4 changes: 3 additions & 1 deletion products/llbuildSwift/BuildSystemBindings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import WinSDK
import Glibc
#elseif canImport(Musl)
import Musl
#elseif canImport(Android)
import Android
#else
#error("Missing libc or equivalent")
#endif
Expand Down Expand Up @@ -1235,7 +1237,7 @@ public final class BuildSystem {
#elseif os(Windows)
info.pointee.mod_time.seconds = UInt64(s.st_mtime)
info.pointee.mod_time.nanoseconds = 0
#elseif canImport(Glibc) || canImport(Musl)
#elseif canImport(Glibc) || canImport(Musl) || canImport(Android)
info.pointee.mod_time.seconds = UInt64(s.st_mtim.tv_sec)
info.pointee.mod_time.nanoseconds = UInt64(s.st_mtim.tv_nsec)
#else
Expand Down
2 changes: 2 additions & 0 deletions products/llbuildSwift/BuildValue.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import WinSDK
import Glibc
#elseif canImport(Musl)
import Musl
#elseif canImport(Android)
import Android
#else
#error("Missing libc or equivalent")
#endif
Expand Down
2 changes: 2 additions & 0 deletions products/llbuildSwift/Internals.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import WinSDK
import Glibc
#elseif canImport(Musl)
import Musl
#elseif canImport(Android)
import Android
#else
#error("Missing libc or equivalent")
#endif
Expand Down

0 comments on commit fb1a0ae

Please sign in to comment.