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 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