From 1900e07166ad68a56618bb82a8a7774738d8c394 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 23 Jun 2017 11:33:24 +0200 Subject: [PATCH] Don't run the catchable segv test on __EMSCRIPTEN__ --- m4/ax_check_catchable_segv.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/ax_check_catchable_segv.m4 b/m4/ax_check_catchable_segv.m4 index ddfc1dc0..5522297b 100644 --- a/m4/ax_check_catchable_segv.m4 +++ b/m4/ax_check_catchable_segv.m4 @@ -23,7 +23,7 @@ size_t i; signal(SIGSEGV, sig); signal(SIGBUS, sig); -#ifndef __SANITIZE_ADDRESS__ +#if !defined(__SANITIZE_ADDRESS__) && !defined(__EMSCRIPTEN__) for (i = 0; i < 10000000; i += 1024) { x[-i] = x[i] = (unsigned char) i; } #endif free((void *) x);