Title: [211503] trunk/Source/WTF
Revision
211503
Author
wenson_hs...@apple.com
Date
2017-02-01 12:03:48 -0800 (Wed, 01 Feb 2017)

Log Message

Unreviewed, fix the WebKit nightly open source build
<rdar://problem/30308635>

We cannot assume all internal SDKs have the latest WebKitAdditions, so we need an explicit header check here.

* wtf/Platform.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (211502 => 211503)


--- trunk/Source/WTF/ChangeLog	2017-02-01 20:00:18 UTC (rev 211502)
+++ trunk/Source/WTF/ChangeLog	2017-02-01 20:03:48 UTC (rev 211503)
@@ -1,3 +1,12 @@
+2017-02-01  Wenson Hsieh  <wenson_hs...@apple.com>
+
+        Unreviewed, fix the WebKit nightly open source build
+        <rdar://problem/30308635>
+
+        We cannot assume all internal SDKs have the latest WebKitAdditions, so we need an explicit header check here.
+
+        * wtf/Platform.h:
+
 2017-02-01  Andreas Kling  <akl...@apple.com>
 
         Implement the alwaysRunsAtBackgroundPriority WK2 setting using thread QoS.

Modified: trunk/Source/WTF/wtf/Platform.h (211502 => 211503)


--- trunk/Source/WTF/wtf/Platform.h	2017-02-01 20:00:18 UTC (rev 211502)
+++ trunk/Source/WTF/wtf/Platform.h	2017-02-01 20:03:48 UTC (rev 211503)
@@ -669,7 +669,7 @@
 /* Include feature macros */
 #include <wtf/FeatureDefines.h>
 
-#if USE(APPLE_INTERNAL_SDK)
+#if USE(APPLE_INTERNAL_SDK) && __has_include(<WebKitAdditions/AdditionalFeatureDefines.h>)
 #include <WebKitAdditions/AdditionalFeatureDefines.h>
 #endif
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to