<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Fix build on macOS Sierra when WEB_PLAYBACK_CONTROLS_MANAGER is enabled"
   href="https://bugs.webkit.org/show_bug.cgi?id=164845#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Fix build on macOS Sierra when WEB_PLAYBACK_CONTROLS_MANAGER is enabled"
   href="https://bugs.webkit.org/show_bug.cgi?id=164845">bug 164845</a>
              from <span class="vcard"><a class="email" href="mailto:mitz&#64;webkit.org" title="mitz&#64;webkit.org &lt;mitz&#64;webkit.org&gt;"> <span class="fn">mitz&#64;webkit.org</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=164845#c6">comment #6</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=164845#c5">comment #5</a>)
&gt; &gt; (In reply to <a href="show_bug.cgi?id=164845#c3">comment #3</a>)
&gt; &gt; &gt; (In reply to <a href="show_bug.cgi?id=164845#c2">comment #2</a>)
&gt; &gt; &gt; &gt; Why is this the right fix?
&gt; &gt; &gt; 
&gt; &gt; &gt; This is similar to the fix we deployed in AVKit.h but I'm all ears if you
&gt; &gt; &gt; have a better fix.
&gt; &gt; 
&gt; &gt; I don’t know what you’re referring to (AVKit.h is not in the WebKit source
&gt; &gt; tree, is it?). When the Apple Internal SDK isn’t available, we normally use
&gt; &gt; declarations in a *SPI.h header file rather than omit functionality from the
&gt; &gt; build.
&gt; 
&gt; Sorry, I meant to say AVKitSPI.h</span >

What’s guarded with #if USE(APPLE_INTERNAL_SDK) in AVKitSPI.h are just #import statements for headers that are only available in the Apple-internal SDK, and the #else clause provides equivalent declarations. What <span class=""><a href="attachment.cgi?id=295001&amp;action=diff" name="attach_295001" title="Patch">attachment 295001</a> <a href="attachment.cgi?id=295001&amp;action=edit" title="Patch">[details]</a></span> guards with #if USE(APPLE_INTERNAL_SDK) are parts of the implementation, and the #else clauses don’t seem to be equivalent.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>