Unreviewed build fix for tvOS.
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2018 03:48:34 +0000 (03:48 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2018 03:48:34 +0000 (03:48 +0000)
* Platform/cocoa/WKCrashReporter.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239194 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/Platform/cocoa/WKCrashReporter.mm

index b538a9d..cacb511 100644 (file)
@@ -1,5 +1,11 @@
 2018-12-13  Chris Dumez  <cdumez@apple.com>
 
+        Unreviewed build fix for tvOS.
+
+        * Platform/cocoa/WKCrashReporter.mm:
+
+2018-12-13  Chris Dumez  <cdumez@apple.com>
+
         [PSON] We should not need to navigate to 'about:blank' to suspend pages
         https://bugs.webkit.org/show_bug.cgi?id=192668
         <rdar://problem/46701466>
index 54c1113..998fc30 100644 (file)
@@ -30,7 +30,7 @@
 #import "CrashReporterClientSPI.h"
 
 // Avoid having to link with libCrashReporterClient.a
-#if PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000
+#if (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000) || (PLATFORM(TVOS) && __TV_OS_VERSION_MIN_REQUIRED >= 130000)
 CRASH_REPORTER_CLIENT_HIDDEN
 struct crashreporter_annotations_t gCRAnnotations
 __attribute__((section("__DATA," CRASHREPORTER_ANNOTATIONS_SECTION)))