osxvideosink: fix build on macOS versions < 12.0
authorJérôme Laheurte <jerome@jeromelaheurte.net>
Sun, 1 Oct 2017 16:21:26 +0000 (18:21 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 8 Feb 2018 15:49:59 +0000 (15:49 +0000)
commit891425d537850705aeb0b98ea18beb3f4eb12518
treeb0f73700535c337b01f7f966c99e7171d792f285
parent7ac08fd0a56f8632d145ab8e2af48dc52180354d
osxvideosink: fix build on macOS versions < 12.0

Use value instead of version macro when testing for mac OS version,
since the define for the newer version may not be defined when
compiling against older versions.

https://bugzilla.gnome.org/show_bug.cgi?id=788402
sys/osxvideo/cocoawindow.m
sys/osxvideo/osxvideosink.m