File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 16
16
17
17
import Foundation
18
18
19
- #if os(Linux)
19
+ // #if os(Linux)
20
20
21
21
public typealias DefaultExecutionContext = PThreadExecutionContext
22
22
23
- #else
23
+ /* #else
24
24
25
25
public typealias DefaultExecutionContext = DispatchExecutionContext
26
26
27
- #endif
27
+ #endif*/
28
28
29
29
public protocol DefaultExecutionContextType : ExecutionContextType {
30
30
init ( kind: ExecutionContextKind )
Original file line number Diff line number Diff line change 17
17
//////////////////////////////////////////////////////////////////////////
18
18
//This file is a temporary solution, just until Dispatch will run on Mac//
19
19
//////////////////////////////////////////////////////////////////////////
20
- #if os(Linux)
20
+ // #if os(Linux)
21
21
22
22
import Foundation
23
23
import Result
137
137
public static let global : ExecutionContextType = PThreadExecutionContext ( kind: . Parallel)
138
138
}
139
139
140
- #endif
140
+ // #endif
Original file line number Diff line number Diff line change 17
17
import Foundation
18
18
import CoreFoundation
19
19
20
- #if os(Linux)
20
+ // #if os(Linux)
21
21
22
22
private extension NSString {
23
23
var cfString : CFString { return unsafeBitCast ( self , CFString . self) }
@@ -180,4 +180,4 @@ import CoreFoundation
180
180
CFRunLoopWakeUp ( cfRunLoop)
181
181
}
182
182
}
183
- #endif
183
+ // #endif
You can’t perform that action at this time.
0 commit comments