Skip to content

Commit edc0316

Browse files
committed
test version
1 parent 3ff155d commit edc0316

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

ExecutionContext/DefaultExecutionContext.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616

1717
import Foundation
1818

19-
#if os(Linux)
19+
//#if os(Linux)
2020

2121
public typealias DefaultExecutionContext = PThreadExecutionContext
2222

23-
#else
23+
/*#else
2424

2525
public typealias DefaultExecutionContext = DispatchExecutionContext
2626

27-
#endif
27+
#endif*/
2828

2929
public protocol DefaultExecutionContextType : ExecutionContextType {
3030
init(kind:ExecutionContextKind)

ExecutionContext/PThreadExecutionContext.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
//////////////////////////////////////////////////////////////////////////
1818
//This file is a temporary solution, just until Dispatch will run on Mac//
1919
//////////////////////////////////////////////////////////////////////////
20-
#if os(Linux)
20+
//#if os(Linux)
2121

2222
import Foundation
2323
import Result
@@ -137,4 +137,4 @@
137137
public static let global:ExecutionContextType = PThreadExecutionContext(kind: .Parallel)
138138
}
139139

140-
#endif
140+
//#endif

ExecutionContext/RunLoop.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import Foundation
1818
import CoreFoundation
1919

20-
#if os(Linux)
20+
//#if os(Linux)
2121

2222
private extension NSString {
2323
var cfString: CFString { return unsafeBitCast(self, CFString.self) }
@@ -180,4 +180,4 @@ import CoreFoundation
180180
CFRunLoopWakeUp(cfRunLoop)
181181
}
182182
}
183-
#endif
183+
//#endif

0 commit comments

Comments
 (0)