Have NV_CPU_ARM and NV_CPU_AARCH64 reference the same code on Darwin.

pull/330/head
C.W. Betts 4 years ago
parent 3a8e89d6f6
commit b700982b1f

@ -604,10 +604,7 @@ namespace
# elif NV_CPU_X86
ucontext_t * ucp = (ucontext_t *)secret;
return (void *) ucp->uc_mcontext->__ss.__eip;
# elif NV_CPU_ARM
ucontext_t * ucp = (ucontext_t *)secret;
return (void *) ucp->uc_mcontext->__ss.__pc;
# elif NV_CPU_AARCH64
# elif NV_CPU_ARM || NV_CPU_AARCH64
ucontext_t * ucp = (ucontext_t *)secret;
return (void *) ucp->uc_mcontext->__ss.__pc;
# else

Loading…
Cancel
Save