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
This commit is contained in:
Vadim Zeitlin
2008-06-01 22:34:57 +00:00
parent 3fb1e0594a
commit efce184b1d
2 changed files with 7 additions and 5 deletions

View File

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