Added test for vsscanf. GUESSING IS EVIL! Cannot test, my autoconf is too old.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder 1999-07-19 13:03:17 +00:00
parent 530e7fa307
commit 4d223b6704
2 changed files with 6 additions and 2 deletions

View File

@ -1685,6 +1685,9 @@ if test "$wxUSE_JOYSTICK" = 1; then
fi
fi
AC_CHECK_FUNCS(vsscanf)
dnl ------------------------------------------------------------------------
dnl DLL support
dnl ------------------------------------------------------------------------

View File

@ -226,7 +226,8 @@ void wxHtmlTag::ScanParam(const wxString& par, char *format, ...) const
va_start(argptr, format);
#if defined(__MINGW32__) || defined(__CYGWIN__) || defined(__VISUALC__)
//#if defined(__MINGW32__) || defined(__CYGWIN__) || defined(__VISUALC__)
#ifndef HAVE_VSSCANF
sscanf((const char*)parval, format, va_arg(argptr, void *));
#else
vsscanf((const char*)parval, format, argptr);
@ -245,4 +246,4 @@ void wxHtmlTag::ScanParam(const wxString& par, char *format, ...) const
va_end(argptr);
}
#endif
#endif