X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b0d623f7f2ae71ed96e60569f61f9a9a27016e80..7e41aa883dd258f888d0470250eead40a53ef1f5:/tools/tests/libMicro/siglongjmp.c diff --git a/tools/tests/libMicro/siglongjmp.c b/tools/tests/libMicro/siglongjmp.c index b4dfd160e..385530eab 100644 --- a/tools/tests/libMicro/siglongjmp.c +++ b/tools/tests/libMicro/siglongjmp.c @@ -56,7 +56,11 @@ benchmark(void *tsd, result_t *res) { tsd_t *ts = (tsd_t *)tsd; +#if 1 /* Apple fix to longjmp/siglongjmp tests, see radar 7440118 */ + volatile int i = 0; +#else int i = 0; +#endif /* end of Apple fix */ (void) sigsetjmp(ts->ts_env, 1);