Skip to content

Commit

Permalink
Fixes for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Jun 6, 2017
1 parent 5170e47 commit 12a3e05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Sources/DateComponents.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@

#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
import Darwin.C
import struct Foundation.Date
import typealias Foundation.TimeInterval
#elseif os(Linux)
import Glibc
#endif

import struct Foundation.Date
import typealias Foundation.TimeInterval

// Use internally to avoid collisions
internal struct DateComponents {

Expand Down
2 changes: 0 additions & 2 deletions Sources/Pipeline.swift
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,11 @@ internal extension Pipeline {
return output
}

@inline(__always)
func evaluate(_ input: [Float]) -> [Float] {

return evaluate(input, cmsPipelineEvalFloat)
}

@inline(__always)
func evaluate(_ input: [UInt16]) -> [UInt16] {

return evaluate(input, cmsPipelineEval16)
Expand Down

0 comments on commit 12a3e05

Please sign in to comment.