Commit 4a066d04 authored by Marvin Scholz's avatar Marvin Scholz Committed by Thomas Guillem

macOS: Fix partial availability error in VLCHUDSliderCell

drawTickMarks is only available on 10.9 and higher according to header
files, we only call super drawTickMarks on OSX_YOSEMITE_AND_HIGHER
though, so it is safe to ignore this here.
parent 0b6a543e
......@@ -320,6 +320,8 @@ NSAffineTransform* RotationTransform(const CGFloat angle, const NSPoint point)
}
}
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wpartial-availability"
- (void)drawTickMarks
{
if (OSX_YOSEMITE_AND_HIGHER) {
......@@ -335,5 +337,6 @@ NSAffineTransform* RotationTransform(const CGFloat angle, const NSPoint point)
NSRectFill(tickMarkRect);
}
}
#pragma clang diagnostic pop
@end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment