Title: [239112] trunk/Source/WebKit
Revision
239112
Author
[email protected]
Date
2018-12-12 10:23:50 -0800 (Wed, 12 Dec 2018)

Log Message

Unreviewed attempt to fix build with older SDKs after r239110.

* Platform/cocoa/WKCrashReporter.mm:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (239111 => 239112)


--- trunk/Source/WebKit/ChangeLog	2018-12-12 18:21:40 UTC (rev 239111)
+++ trunk/Source/WebKit/ChangeLog	2018-12-12 18:23:50 UTC (rev 239112)
@@ -1,5 +1,11 @@
 2018-12-12  Chris Dumez  <[email protected]>
 
+        Unreviewed attempt to fix build with older SDKs after r239110.
+
+        * Platform/cocoa/WKCrashReporter.mm:
+
+2018-12-12  Chris Dumez  <[email protected]>
+
         Unreviewed, fix build with recent SDKs.
 
         * Platform/cocoa/WKCrashReporter.mm:

Modified: trunk/Source/WebKit/Platform/cocoa/WKCrashReporter.mm (239111 => 239112)


--- trunk/Source/WebKit/Platform/cocoa/WKCrashReporter.mm	2018-12-12 18:21:40 UTC (rev 239111)
+++ trunk/Source/WebKit/Platform/cocoa/WKCrashReporter.mm	2018-12-12 18:23:50 UTC (rev 239112)
@@ -30,10 +30,17 @@
 #import "CrashReporterClientSPI.h"
 
 // Avoid having to link with libCrashReporterClient.a
+#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) || (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000)
 CRASH_REPORTER_CLIENT_HIDDEN
 struct crashreporter_annotations_t gCRAnnotations
 __attribute__((section("__DATA," CRASHREPORTER_ANNOTATIONS_SECTION)))
     = { {CRASHREPORTER_ANNOTATIONS_VERSION}, {0}, {0}, {0}, {0}, {0}, {0}, {0} };
+#else
+CRASH_REPORTER_CLIENT_HIDDEN
+struct crashreporter_annotations_t gCRAnnotations
+__attribute__((section("__DATA," CRASHREPORTER_ANNOTATIONS_SECTION)))
+    = { CRASHREPORTER_ANNOTATIONS_VERSION, 0, 0, 0, 0, 0, 0, 0 };
+#endif
 
 namespace WebKit {
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to