mirror of
https://github.com/apple/swift-system
synced 2026-11-25 04:47:55 +00:00
Merge pull request #162 from finagolfin/droid
Android: DIR* is an OpaquePointer in Bionic too
This commit is contained in:
1 file changed
+1
-1
@@ -189,7 +189,7 @@ internal func system_confstr(
|
||||
internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
|
||||
internal let SYSTEM_DT_DIR = DT_DIR
|
||||
internal typealias system_dirent = dirent
|
||||
#if os(Linux)
|
||||
#if os(Linux) || os(Android)
|
||||
internal typealias system_DIRPtr = OpaquePointer
|
||||
#else
|
||||
internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
|
||||
|
||||
Reference in new issue
Block a user