Title: [282842] trunk/Source/WebCore/PAL
- Revision
- 282842
- Author
- pvol...@apple.com
- Date
- 2021-09-21 14:29:31 -0700 (Tue, 21 Sep 2021)
Log Message
[Mac Catalyst] Fix build issue
https://bugs.webkit.org/show_bug.cgi?id=230567
<rdar://83314629>
Unreviewed follow-up fix after <https://commits.webkit.org/241966@main>.
Fix an incorrect define check.
* pal/spi/cocoa/LaunchServicesSPI.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/PAL/ChangeLog (282841 => 282842)
--- trunk/Source/WebCore/PAL/ChangeLog 2021-09-21 21:09:30 UTC (rev 282841)
+++ trunk/Source/WebCore/PAL/ChangeLog 2021-09-21 21:29:31 UTC (rev 282842)
@@ -4,6 +4,18 @@
https://bugs.webkit.org/show_bug.cgi?id=230567
<rdar://83314629>
+ Unreviewed follow-up fix after <https://commits.webkit.org/241966@main>.
+
+ Fix an incorrect define check.
+
+ * pal/spi/cocoa/LaunchServicesSPI.h:
+
+2021-09-21 Per Arne Vollan <pvol...@apple.com>
+
+ [Mac Catalyst] Fix build issue
+ https://bugs.webkit.org/show_bug.cgi?id=230567
+ <rdar://83314629>
+
Reviewed by Brent Fulgham.
The identifier kLSDefaultSessionID is undeclared. Declare it for the internal build on Catalyst.
Modified: trunk/Source/WebCore/PAL/pal/spi/cocoa/LaunchServicesSPI.h (282841 => 282842)
--- trunk/Source/WebCore/PAL/pal/spi/cocoa/LaunchServicesSPI.h 2021-09-21 21:09:30 UTC (rev 282841)
+++ trunk/Source/WebCore/PAL/pal/spi/cocoa/LaunchServicesSPI.h 2021-09-21 21:29:31 UTC (rev 282842)
@@ -39,15 +39,16 @@
#if USE(APPLE_INTERNAL_SDK)
// FIXME: remove the following section when <rdar://83360464> is fixed.
-#if PLATFORM(MACCATALYST) && !defined(__LAUNCHSERVICESPRIV__)
+#if PLATFORM(MACCATALYST)
+#if !defined(__LSAPPLICATIONSERVICESPRIV__)
enum LSSessionID {
kLSDefaultSessionID = -2,
};
-
+#endif // !defined(__LSAPPLICATIONSERVICESPRIV__)
WTF_EXTERN_C_BEGIN
CFDictionaryRef _LSApplicationCheckIn(LSSessionID, CFDictionaryRef applicationInfo);
WTF_EXTERN_C_END
-#endif
+#endif // PLATFORM(MACCATALYST)
#else // USE(APPLE_INTERNAL_SDK)
@interface LSResourceProxy : NSObject <NSCopying, NSSecureCoding>
@property (nonatomic, copy, readonly) NSString *localizedName;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes