[MPlayer-cvslog] r31548 - trunk/configure
diego
subversion at mplayerhq.hu
Thu Jun 24 10:15:46 CEST 2010
Author: diego
Date: Thu Jun 24 10:15:46 2010
New Revision: 31548
Log:
Fix catch() callback function declaration in two compile tests.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Thu Jun 24 10:14:32 2010 (r31547)
+++ trunk/configure Thu Jun 24 10:15:46 2010 (r31548)
@@ -1725,7 +1725,7 @@ if x86 && test "$_runtime_cpudetection"
cat > $TMPC <<EOF
#include <stdlib.h>
#include <signal.h>
-void catch() { exit(1); }
+void catch(void) { exit(1); }
int main(void) {
signal(SIGILL, catch);
__asm__ volatile ("$3":::"memory"); return 0;
@@ -5133,7 +5133,7 @@ if test "$_gif" = yes ; then
cat > $TMPC << EOF
#include <signal.h>
#include <gif_lib.h>
-void catch() { exit(1); }
+void catch(void) { exit(1); }
int main(void) {
signal(SIGSEGV, catch); // catch segfault
printf("EGifPutExtensionFirst is at address %p\n", EGifPutExtensionFirst);
More information about the MPlayer-cvslog
mailing list