diff configure @ 30177:c02b833051a7

Pass a proper va_list type to vsscanf() test in configure. This fixes the check on SuperH with CodeSourcery compilers. patch by Bill Traynor, wmat naoi ca
author diego
date Mon, 04 Jan 2010 21:57:13 +0000
parents 9c96c5a55b3e
children 79d654423b9a
line wrap: on
line diff
--- a/configure	Mon Jan 04 21:38:45 2010 +0000
+++ b/configure	Mon Jan 04 21:57:13 2010 +0000
@@ -3745,7 +3745,7 @@
 #define _ISOC99_SOURCE
 #include <stdarg.h>
 #include <stdio.h>
-int main(void) { vsscanf(0, 0, 0); return 0; }
+int main(void) { va_list ap; vsscanf(0, 0, ap); return 0; }
 EOF
 _vsscanf=no
 cc_check && _vsscanf=yes