Color: Exclude internal extension on Linux

This commit is contained in:
John Sundell 2018-08-26 22:57:02 +02:00
parent a68e461eb4
commit aea685e8b4

View File

@ -12,8 +12,10 @@ import Cocoa
public typealias Color = NSColor
#endif
#if !os(Linux)
internal extension Color {
convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
self.init(red: red, green: green, blue: blue, alpha: 1)
}
}
#endif