[vlc-commits] vout-macosx: fix compilation with earlier SDKs
Felix Paul Kühne
git at videolan.org
Tue Nov 15 15:54:54 CET 2016
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Nov 15 14:34:56 2016 +0100| [2c40d3f25df4aec764da5de8fae38c879c51b01d] | committer: Felix Paul Kühne
vout-macosx: fix compilation with earlier SDKs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c40d3f25df4aec764da5de8fae38c879c51b01d
---
modules/video_output/macosx.m | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index 2c3dcd3..e9805ed 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -51,7 +51,9 @@
#define OSX_EL_CAPITAN (NSAppKitVersionNumber >= 1404)
-#if MAC_OS_X_VERSION_MAX_ALLOWED < 1011
+#ifndef MAC_OS_X_VERSION_10_11
+const CFStringRef kCGColorSpaceDCIP3 = CFSTR("kCGColorSpaceDCIP3");
+const CFStringRef kCGColorSpaceITUR_709 = CFSTR("kCGColorSpaceITUR_709");
const CFStringRef kCGColorSpaceITUR_2020 = CFSTR("kCGColorSpaceITUR_2020");
#endif
More information about the vlc-commits
mailing list