vsprintf() is ANSI so there is normally no need to test for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -112,12 +112,9 @@ extern const char *g_szNul = &g_strEmpty.dummy;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef wxVsprintf
|
#ifndef wxVsprintf
|
||||||
#ifdef HAVE_VPRINTF
|
// vsprintf() is ANSI so we can always use it, but it's unsafe!
|
||||||
#define wxVsprintf(buffer,len,format,argptr) vsprintf(buffer,format, argptr)
|
#define wxVsprintf(buffer,len,format,argptr) vsprintf(buffer,format, argptr)
|
||||||
#pragma message("Using sprintf() because no snprintf()-like function defined")
|
#pragma message("Using sprintf() because no snprintf()-like function defined")
|
||||||
#else
|
|
||||||
#pragma error("No vsnprintf() or vsprintf() function available.")
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
NAMESPACE istream& operator>>(NAMESPACE istream& is, wxString& WXUNUSED(str))
|
NAMESPACE istream& operator>>(NAMESPACE istream& is, wxString& WXUNUSED(str))
|
||||||
|
Reference in New Issue
Block a user