Преглед изворни кода

Fix build errors when using UIKit for Mac (Catalyst)

Iulian Onofrei пре 7 година
родитељ
комит
f7619cdbf2
1 измењених фајлова са 3 додато и 1 уклоњено
  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