Title: [211150] trunk/Source/WTF
Revision
211150
Author
wenson_hs...@apple.com
Date
2017-01-25 09:48:54 -0800 (Wed, 25 Jan 2017)

Log Message

Add a hook to include additional feature defines
https://bugs.webkit.org/show_bug.cgi?id=167403

Reviewed by Enrica Casucci.

* wtf/Platform.h: Include AdditionalFeatureDefines.h, if it exists.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (211149 => 211150)


--- trunk/Source/WTF/ChangeLog	2017-01-25 17:42:44 UTC (rev 211149)
+++ trunk/Source/WTF/ChangeLog	2017-01-25 17:48:54 UTC (rev 211150)
@@ -1,3 +1,12 @@
+2017-01-25  Wenson Hsieh  <wenson_hs...@apple.com>
+
+        Add a hook to include additional feature defines
+        https://bugs.webkit.org/show_bug.cgi?id=167403
+
+        Reviewed by Enrica Casucci.
+
+        * wtf/Platform.h: Include AdditionalFeatureDefines.h, if it exists.
+
 2017-01-24  Joseph Pecoraro  <pecor...@apple.com>
 
         Fold USER_TIMING into WEB_TIMING and make it a RuntimeEnabledFeature

Modified: trunk/Source/WTF/wtf/Platform.h (211149 => 211150)


--- trunk/Source/WTF/wtf/Platform.h	2017-01-25 17:42:44 UTC (rev 211149)
+++ trunk/Source/WTF/wtf/Platform.h	2017-01-25 17:48:54 UTC (rev 211150)
@@ -669,6 +669,10 @@
 /* Include feature macros */
 #include <wtf/FeatureDefines.h>
 
+#if defined(__has_include) && __has_include(<WebKitAdditions/AdditionalFeatureDefines.h>)
+#include <WebKitAdditions/AdditionalFeatureDefines.h>
+#endif
+
 #if OS(WINDOWS)
 #define USE_SYSTEM_MALLOC 1
 #endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to