diff --git a/runtime/monotouch-support.h b/runtime/monotouch-support.h index b6d684329ff5..44c58a633815 100644 --- a/runtime/monotouch-support.h +++ b/runtime/monotouch-support.h @@ -15,7 +15,7 @@ void xamarin_start_wwan (const char *uri); const char * xamarin_GetFolderPath (int folder); #endif -#if defined (TARGET_OS_TV) && defined (__arm64__) +#if defined (__arm64__) void objc_msgSend_stret (id self, SEL op, ...); void objc_msgSendSuper_stret (struct objc_super *super, SEL op, ...); #endif diff --git a/runtime/xamarin-support.m b/runtime/xamarin-support.m index 0556cda010db..eac4befe19dc 100644 --- a/runtime/xamarin-support.m +++ b/runtime/xamarin-support.m @@ -101,7 +101,7 @@ } #endif /* defined (MONOTOUCH) */ -#if TARGET_OS_TV && defined (__arm64__) +#if defined (__arm64__) // there are no objc_msgSend[Super]_stret functions on ARM64 but the managed // code might have (e.g. linker is off) references to the symbol, which makes