C++ compat
This commit is contained in:
parent
1900e07166
commit
2864701f1b
@ -18,7 +18,7 @@ AC_DEFUN([AX_CHECK_CATCHABLE_SEGV], [dnl
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
static void sig(int _) { exit(0); }
|
static void sig(int _) { exit(0); }
|
||||||
]], [[
|
]], [[
|
||||||
volatile unsigned char * volatile x = malloc(8);
|
volatile unsigned char * volatile x = (volatile unsigned char *) malloc(8);
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
signal(SIGSEGV, sig);
|
signal(SIGSEGV, sig);
|
||||||
|
Loading…
Reference in New Issue
Block a user