File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ internal func malloc_good_size(_ size: Int) -> Int {
21
21
22
22
@_implementationOnly import CoreFoundation
23
23
24
+ #if canImport(Glibc)
25
+ import Glibc
26
+ #endif
27
+
24
28
internal func __NSDataInvokeDeallocatorUnmap( _ mem: UnsafeMutableRawPointer , _ length: Int ) {
25
29
#if os(Windows)
26
30
UnmapViewOfFile ( mem)
Original file line number Diff line number Diff line change 8
8
//
9
9
10
10
@_implementationOnly import CoreFoundation
11
+
12
+ #if canImport(Glibc)
13
+ import Glibc
14
+ #endif
15
+
11
16
#if os(Windows)
12
17
import WinSDK
13
18
#endif
Original file line number Diff line number Diff line change 9
9
10
10
@_implementationOnly import CoreFoundation
11
11
12
+ #if canImport(Glibc)
13
+ import Glibc
14
+ #endif
15
+
12
16
// WORKAROUND_SR9811
13
17
#if os(Windows)
14
18
internal typealias _swift_CFThreadRef = HANDLE
You can’t perform that action at this time.
0 commit comments