C++ compat

This commit is contained in:
Frank Denis 2017-06-23 11:48:08 +02:00
parent 1900e07166
commit 2864701f1b

View File

@ -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);