diff --git a/Sources/CwlMachBadInstructionHandler/CwlMachBadInstructionHandler.m b/Sources/CwlMachBadInstructionHandler/CwlMachBadInstructionHandler.m index 168fa5b..0af0e8e 100644 --- a/Sources/CwlMachBadInstructionHandler/CwlMachBadInstructionHandler.m +++ b/Sources/CwlMachBadInstructionHandler/CwlMachBadInstructionHandler.m @@ -20,7 +20,7 @@ #ifdef __APPLE__ #import "TargetConditionals.h" -#if TARGET_OS_OSX || TARGET_OS_IOS +#if TARGET_OS_OSX || TARGET_OS_IOS || TARGET_OS_VISION #import "mach_excServer.h" #import "CwlMachBadInstructionHandler.h" diff --git a/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h b/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h index 6feabe5..ade03df 100644 --- a/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h +++ b/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h @@ -20,7 +20,7 @@ #import -#if TARGET_OS_OSX || TARGET_OS_IOS +#if TARGET_OS_OSX || TARGET_OS_IOS || TARGET_OS_VISION #import diff --git a/Sources/CwlMachBadInstructionHandler/mach_excServer.c b/Sources/CwlMachBadInstructionHandler/mach_excServer.c index ccd8f84..c6f4141 100644 --- a/Sources/CwlMachBadInstructionHandler/mach_excServer.c +++ b/Sources/CwlMachBadInstructionHandler/mach_excServer.c @@ -10,7 +10,7 @@ #define __MIG_check__Request__mach_exc_subsystem__ 1 #import "mach_excServer.h" -#if TARGET_OS_OSX || TARGET_OS_IOS +#if TARGET_OS_OSX || TARGET_OS_IOS || TARGET_OS_VISION #ifndef mig_internal #define mig_internal static __inline__ diff --git a/Sources/CwlMachBadInstructionHandler/mach_excServer.h b/Sources/CwlMachBadInstructionHandler/mach_excServer.h index 1f03d66..941b227 100644 --- a/Sources/CwlMachBadInstructionHandler/mach_excServer.h +++ b/Sources/CwlMachBadInstructionHandler/mach_excServer.h @@ -1,6 +1,6 @@ #ifdef __APPLE__ #import "TargetConditionals.h" -#if TARGET_OS_OSX || TARGET_OS_IOS +#if TARGET_OS_OSX || TARGET_OS_IOS || TARGET_OS_VISION #ifndef _mach_exc_server_ #define _mach_exc_server_