Title: [249211] trunk/Source/WebKitLegacy/mac
Revision
249211
Author
[email protected]
Date
2019-08-28 12:19:41 -0700 (Wed, 28 Aug 2019)

Log Message

GenerateTAPI WebKitLegacy.tbd fails on internal iOS Simulator builds
https://bugs.webkit.org/show_bug.cgi?id=201200

Reviewed by Simon Fraser.

We want to include Foundation/NSURLDownload.h if we're on
a newer iOS.

* Misc/WebDownload.h:

Modified Paths

Diff

Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (249210 => 249211)


--- trunk/Source/WebKitLegacy/mac/ChangeLog	2019-08-28 18:37:43 UTC (rev 249210)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog	2019-08-28 19:19:41 UTC (rev 249211)
@@ -1,3 +1,15 @@
+2019-08-28  Dean Jackson  <[email protected]>
+
+        GenerateTAPI WebKitLegacy.tbd fails on internal iOS Simulator builds
+        https://bugs.webkit.org/show_bug.cgi?id=201200
+
+        Reviewed by Simon Fraser.
+
+        We want to include Foundation/NSURLDownload.h if we're on
+        a newer iOS.
+
+        * Misc/WebDownload.h:
+
 2019-08-28  Keith Rollin  <[email protected]>
 
         Remove support for macOS < 10.13 (part 2)

Modified: trunk/Source/WebKitLegacy/mac/Misc/WebDownload.h (249210 => 249211)


--- trunk/Source/WebKitLegacy/mac/Misc/WebDownload.h	2019-08-28 18:37:43 UTC (rev 249210)
+++ trunk/Source/WebKitLegacy/mac/Misc/WebDownload.h	2019-08-28 19:19:41 UTC (rev 249211)
@@ -34,7 +34,7 @@
 
 #if (defined TARGET_OS_IOSMAC && TARGET_OS_IOSMAC) || (defined(TARGET_OS_WATCH) && TARGET_OS_WATCH)
 #import <CFNetwork/CFNSURLConnection.h>
-#elif !TARGET_OS_IPHONE || (defined USE_APPLE_INTERNAL_SDK && USE_APPLE_INTERNAL_SDK)
+#elif !TARGET_OS_IPHONE || (TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000) || (defined(USE_APPLE_INTERNAL_SDK) && USE_APPLE_INTERNAL_SDK)
 #import <Foundation/NSURLDownload.h>
 #else
 #import <WebKitLegacy/NSURLDownloadSPI.h>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to