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:
parent
530e7fa307
commit
4d223b6704
@ -1685,6 +1685,9 @@ if test "$wxUSE_JOYSTICK" = 1; then
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
AC_CHECK_FUNCS(vsscanf)
|
||||
|
||||
dnl ------------------------------------------------------------------------
|
||||
dnl DLL support
|
||||
dnl ------------------------------------------------------------------------
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user