Title: [214912] trunk/Source/WebCore
Revision
214912
Author
[email protected]
Date
2017-04-04 16:32:28 -0700 (Tue, 04 Apr 2017)

Log Message

Unreviewed build fix: fix compilation error on Sierra.

* platform/spi/mac/AVFoundationSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (214911 => 214912)


--- trunk/Source/WebCore/ChangeLog	2017-04-04 23:32:03 UTC (rev 214911)
+++ trunk/Source/WebCore/ChangeLog	2017-04-04 23:32:28 UTC (rev 214912)
@@ -1,5 +1,11 @@
 2017-04-04  Jer Noble  <[email protected]>
 
+        Unreviewed build fix: fix compilation error on Sierra.
+
+        * platform/spi/mac/AVFoundationSPI.h:
+
+2017-04-04  Jer Noble  <[email protected]>
+
         Move AVSampleBufferDisplayLayer declarations into AVFoundationSPI.h
         https://bugs.webkit.org/show_bug.cgi?id=170471
 

Modified: trunk/Source/WebCore/platform/spi/mac/AVFoundationSPI.h (214911 => 214912)


--- trunk/Source/WebCore/platform/spi/mac/AVFoundationSPI.h	2017-04-04 23:32:03 UTC (rev 214911)
+++ trunk/Source/WebCore/platform/spi/mac/AVFoundationSPI.h	2017-04-04 23:32:28 UTC (rev 214912)
@@ -193,7 +193,9 @@
 
 #endif // __has_include(<AVFoundation/AVSampleBufferRenderSynchronizer.h>)
 
-#if __has_include(<AVFoundation/AVSampleBufferDisplayLayer.h>)
+#if ((PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101300) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED < 110000)) && __has_include(<AVFoundation/AVQueuedSampleBufferRendering.h>)
+#import <AVfoundation/AVQueuedSampleBufferRendering.h>
+#elif __has_include(<AVFoundation/AVSampleBufferDisplayLayer.h>)
 #import <AVFoundation/AVSampleBufferDisplayLayer.h>
 #else
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to