summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 29455048b5..ea836594e2 100755
--- a/configure
+++ b/configure
@@ -1646,7 +1646,7 @@ if x86 && test "$_runtime_cpudetection" = no ; then
cat > $TMPC <<EOF
#include <stdlib.h>
#include <signal.h>
-void catch(void) { exit(1); }
+void catch(int sig) { exit(1); }
int main(void) {
signal(SIGILL, catch);
__asm__ volatile ("$3":::"memory"); return 0;
@@ -4878,7 +4878,7 @@ if test "$_gif" = yes ; then
cat > $TMPC << EOF
#include <signal.h>
#include <gif_lib.h>
-void catch(void) { exit(1); }
+void catch(int sig) { exit(1); }
int main(void) {
signal(SIGSEGV, catch); // catch segfault
printf("EGifPutExtensionFirst is at address %p\n", EGifPutExtensionFirst);