Unreviewed build fix after r259396.

* pal/spi/cocoa/LaunchServicesSPI.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@259415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/PAL/ChangeLog b/Source/WebCore/PAL/ChangeLog
index 1f6cb78..9151130 100644
--- a/Source/WebCore/PAL/ChangeLog
+++ b/Source/WebCore/PAL/ChangeLog
@@ -1,5 +1,11 @@
 2020-04-02  Per Arne Vollan  <pvollan@apple.com>
 
+        Unreviewed build fix after r259396.
+
+        * pal/spi/cocoa/LaunchServicesSPI.h:
+
+2020-04-02  Per Arne Vollan  <pvollan@apple.com>
+
         Unreviewed build fix.
 
         * pal/spi/cocoa/CoreServicesSPI.h:
diff --git a/Source/WebCore/PAL/pal/spi/cocoa/LaunchServicesSPI.h b/Source/WebCore/PAL/pal/spi/cocoa/LaunchServicesSPI.h
index f445942..6a1a281 100644
--- a/Source/WebCore/PAL/pal/spi/cocoa/LaunchServicesSPI.h
+++ b/Source/WebCore/PAL/pal/spi/cocoa/LaunchServicesSPI.h
@@ -103,10 +103,18 @@
 
 OSStatus _RegisterApplication(CFDictionaryRef, ProcessSerialNumber*);
 
-typedef bool (^LSServerConnectionAllowedBlock) (CFDictionaryRef optionsRef);
-extern "C" void _LSSetApplicationLaunchServicesServerConnectionStatus(uint64_t flags, LSServerConnectionAllowedBlock block);
-extern "C" CFDictionaryRef _LSApplicationCheckIn(LSSessionID sessionID, CFDictionaryRef applicationInfo);
-
 WTF_EXTERN_C_END
 
 #endif // PLATFORM(MAC)
+
+#if PLATFORM(MAC) || PLATFORM(MACCATALYST)
+
+WTF_EXTERN_C_BEGIN
+
+typedef bool (^LSServerConnectionAllowedBlock) (CFDictionaryRef optionsRef);
+void _LSSetApplicationLaunchServicesServerConnectionStatus(uint64_t flags, LSServerConnectionAllowedBlock block);
+CFDictionaryRef _LSApplicationCheckIn(LSSessionID sessionID, CFDictionaryRef applicationInfo);
+
+WTF_EXTERN_C_END
+
+#endif // PLATFORM(MAC) || PLATFORM(MACCATALYST)