[vlc-commits] macOS vout: correctly redefine missing SDK declarations
Jean-Baptiste Kempf
git at videolan.org
Wed Dec 21 20:25:05 CET 2016
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Dec 21 20:23:28 2016 +0100| [e86f5a8de0dcafcc67950e10638cd4ac9a713b17] | committer: Jean-Baptiste Kempf
macOS vout: correctly redefine missing SDK declarations
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e86f5a8de0dcafcc67950e10638cd4ac9a713b17
---
modules/video_output/caopengllayer.m | 2 +-
modules/video_output/macosx.m | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/caopengllayer.m b/modules/video_output/caopengllayer.m
index 961fce4..62d15d3 100644
--- a/modules/video_output/caopengllayer.m
+++ b/modules/video_output/caopengllayer.m
@@ -45,7 +45,7 @@
#define OSX_EL_CAPITAN (NSAppKitVersionNumber >= 1404)
-#ifndef MAC_OS_X_VERSION_10_11
+#if MAC_OS_X_VERSION_MIN_ALLOWED <= 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");
diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index a29da9a..3938d9d 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -51,7 +51,7 @@
#define OSX_EL_CAPITAN (NSAppKitVersionNumber >= 1404)
-#ifndef MAC_OS_X_VERSION_10_11
+#if MAC_OS_X_VERSION_MIN_ALLOWED <= 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");
More information about the vlc-commits
mailing list