Title: [220869] trunk/Tools
Revision
220869
Author
[email protected]
Date
2017-08-17 12:01:08 -0700 (Thu, 17 Aug 2017)

Log Message

Unreviewed, try to fix the internal iOS 10 build after r220865.

* TestWebKitAPI/ios/UIKitSPI.h:

On the iOS 10 SDK, UIApplication_Private.h cannot be imported in the simulator. Simply fall back to using the
extern declaration when building for pre-iOS 11; once the bots stop building for iOS 10, we can safely remove
this compiler guard.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (220868 => 220869)


--- trunk/Tools/ChangeLog	2017-08-17 18:51:44 UTC (rev 220868)
+++ trunk/Tools/ChangeLog	2017-08-17 19:01:08 UTC (rev 220869)
@@ -1,5 +1,15 @@
 2017-08-17  Wenson Hsieh  <[email protected]>
 
+        Unreviewed, try to fix the internal iOS 10 build after r220865.
+
+        * TestWebKitAPI/ios/UIKitSPI.h:
+
+        On the iOS 10 SDK, UIApplication_Private.h cannot be imported in the simulator. Simply fall back to using the
+        extern declaration when building for pre-iOS 11; once the bots stop building for iOS 10, we can safely remove
+        this compiler guard.
+
+2017-08-17  Wenson Hsieh  <[email protected]>
+
         [iOS] Respect type fidelities when copying image elements to the pasteboard
         https://bugs.webkit.org/show_bug.cgi?id=175638
         <rdar://problem/26556043>

Modified: trunk/Tools/TestWebKitAPI/ios/UIKitSPI.h (220868 => 220869)


--- trunk/Tools/TestWebKitAPI/ios/UIKitSPI.h	2017-08-17 18:51:44 UTC (rev 220868)
+++ trunk/Tools/TestWebKitAPI/ios/UIKitSPI.h	2017-08-17 19:01:08 UTC (rev 220869)
@@ -25,7 +25,7 @@
 
 #if PLATFORM(IOS)
 
-#if USE(APPLE_INTERNAL_SDK)
+#if USE(APPLE_INTERNAL_SDK) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000
 
 #import <UIKit/UIApplication_Private.h>
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to