Changeset 214912 in webkit


Ignore:
Timestamp:
Apr 4, 2017 4:32:28 PM (7 years ago)
Author:
jer.noble@apple.com
Message:

Unreviewed build fix: fix compilation error on Sierra.

  • platform/spi/mac/AVFoundationSPI.h:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r214907 r214912  
     12017-04-04  Jer Noble  <jer.noble@apple.com>
     2
     3        Unreviewed build fix: fix compilation error on Sierra.
     4
     5        * platform/spi/mac/AVFoundationSPI.h:
     6
    172017-04-04  Jer Noble  <jer.noble@apple.com>
    28
  • trunk/Source/WebCore/platform/spi/mac/AVFoundationSPI.h

    r214907 r214912  
    194194#endif // __has_include(<AVFoundation/AVSampleBufferRenderSynchronizer.h>)
    195195
    196 #if __has_include(<AVFoundation/AVSampleBufferDisplayLayer.h>)
     196#if ((PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101300) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED < 110000)) && __has_include(<AVFoundation/AVQueuedSampleBufferRendering.h>)
     197#import <AVfoundation/AVQueuedSampleBufferRendering.h>
     198#elif __has_include(<AVFoundation/AVSampleBufferDisplayLayer.h>)
    197199#import <AVFoundation/AVSampleBufferDisplayLayer.h>
    198200#else
Note: See TracChangeset for help on using the changeset viewer.