From: Vadim Zeitlin Date: Sun, 1 Jun 2008 22:34:57 +0000 (+0000) Subject: fix the test for vsscanf() declaration which never passed because it was trying to... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/efce184b1d54fe6fa06471ad40aa56c202e2cba5 fix the test for vsscanf() declaration which never passed because it was trying to use char* instead of va_list git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure b/configure index 5625f71033..2492896d66 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 53035 2008-04-05 21:00:46Z SN . +# From configure.in Id: configure.in 53842 2008-05-30 13:35:30Z VZ . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0. # @@ -35360,8 +35360,9 @@ int main () { - char *buf, *parse; - vsscanf(buf, "%s", parse); + char *buf; + va_list args; + vsscanf(buf, "%s", args); ; return 0; diff --git a/configure.in b/configure.in index 4d24aba9d6..ced854cefc 100644 --- a/configure.in +++ b/configure.in @@ -4182,8 +4182,9 @@ if test "$ac_cv_func_vsscanf" = "yes"; then #endif ], [ - char *buf, *parse; - vsscanf(buf, "%s", parse); + char *buf; + va_list args; + vsscanf(buf, "%s", args); ], wx_cv_func_vsscanf_decl=yes, wx_cv_func_vsscanf_decl=no