diff options
-rw-r--r-- | mono/mini/mini-amd64.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mono/mini/mini-amd64.h b/mono/mini/mini-amd64.h index 6f17a901461..a5c03c4877c 100644 --- a/mono/mini/mini-amd64.h +++ b/mono/mini/mini-amd64.h @@ -474,8 +474,9 @@ typedef struct { #define MONO_ARCH_GSHAREDVT_SUPPORTED 1 -#if defined(HOST_TVOS) -/* No signals */ +#if defined(HOST_TVOS) || defined(HOST_WATCHOS) +/* Neither tvOS nor watchOS give signal handlers access to a ucontext_t, so we + * can't use signals to translate SIGFPE into a .NET-level exception. */ #define MONO_ARCH_NEED_DIV_CHECK 1 #endif |