Color: Exclude internal extension on Linux
This commit is contained in:
parent
a68e461eb4
commit
aea685e8b4
@ -12,8 +12,10 @@ import Cocoa
|
|||||||
public typealias Color = NSColor
|
public typealias Color = NSColor
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !os(Linux)
|
||||||
internal extension Color {
|
internal extension Color {
|
||||||
convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
|
convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
|
||||||
self.init(red: red, green: green, blue: blue, alpha: 1)
|
self.init(red: red, green: green, blue: blue, alpha: 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user