Windows compilation fixes after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -643,18 +643,18 @@ WXDLLEXPORT bool wxOKlibc(); // for internal use
|
||||
int wxVfprintf( FILE *stream, const wxChar *format, va_list ap );
|
||||
int wxVprintf( const wxChar *format, va_list ap );
|
||||
int wxVsprintf( wxChar *str, const wxChar *format, va_list ap );
|
||||
|
||||
// these 2 can be simply mapped to the versions with underscore at the end
|
||||
// if we don't have to do the conversion
|
||||
#ifdef wxNEED_PRINTF_CONVERSION
|
||||
int wxSnprintf( wxChar *str, size_t size, const wxChar *format, ... ) ATTRIBUTE_PRINTF_4;
|
||||
int wxVsnprintf( wxChar *str, size_t size, const wxChar *format, va_list ap );
|
||||
#else
|
||||
#define wxSnprintf wxSnprintf_
|
||||
#define wxVsnprintf wxVsnprintf_
|
||||
#endif
|
||||
#endif // wxNEED_PRINTF_CONVERSION
|
||||
|
||||
// these 2 can be simply mapped to the versions with underscore at the end
|
||||
// if we don't have to do the conversion
|
||||
#ifdef wxNEED_PRINTF_CONVERSION
|
||||
int wxSnprintf( wxChar *str, size_t size, const wxChar *format, ... ) ATTRIBUTE_PRINTF_4;
|
||||
int wxVsnprintf( wxChar *str, size_t size, const wxChar *format, va_list ap );
|
||||
#else
|
||||
#define wxSnprintf wxSnprintf_
|
||||
#define wxVsnprintf wxVsnprintf_
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// various functions which might not be available in libc and for which we
|
||||
// provide our own replacements in wxchar.cpp
|
||||
|
Reference in New Issue
Block a user