Explorar o código

Fix build errors when using UIKit for Mac (Catalyst)

Iulian Onofrei %!s(int64=7) %!d(string=hai) anos
pai
achega
f7619cdbf2
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      Classes/GlobalStateExplorers/SystemLog/ActivityStreamAPI.h

+ 3 - 1
Classes/GlobalStateExplorers/SystemLog/ActivityStreamAPI.h

@@ -24,11 +24,13 @@
  *
  * See <os/object.h> for details.
  */
+#if !TARGET_OS_MACCATALYST
 #if OS_OBJECT_USE_OBJC
 OS_OBJECT_DECL(xpc_object);
 #else
 typedef void * xpc_object_t;
-#endif 
+#endif
+#endif
 
 #define OS_ACTIVITY_MAX_CALLSTACK 32