compilation fix for Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a8bf182601
commit
74ee96987a
@ -609,6 +609,9 @@ WXDLLEXPORT bool wxOKlibc(); // for internal use
|
|||||||
|
|
||||||
// We need conversion from %s to %ls in Unicode mode under Unix
|
// We need conversion from %s to %ls in Unicode mode under Unix
|
||||||
#ifdef wxNEED_PRINTF_CONVERSION
|
#ifdef wxNEED_PRINTF_CONVERSION
|
||||||
|
|
||||||
|
#include <stdio.h> // need FILE
|
||||||
|
|
||||||
int wxScanf( const wxChar *format, ... ) ATTRIBUTE_PRINTF_2;
|
int wxScanf( const wxChar *format, ... ) ATTRIBUTE_PRINTF_2;
|
||||||
int wxSscanf( const wxChar *str, const wxChar *format, ... ) ATTRIBUTE_PRINTF_3;
|
int wxSscanf( const wxChar *str, const wxChar *format, ... ) ATTRIBUTE_PRINTF_3;
|
||||||
int wxFscanf( FILE *stream, const wxChar *format, ... ) ATTRIBUTE_PRINTF_3;
|
int wxFscanf( FILE *stream, const wxChar *format, ... ) ATTRIBUTE_PRINTF_3;
|
||||||
@ -621,7 +624,8 @@ int wxVfprint( const wxChar *format, va_list ap );
|
|||||||
int wxVprintf( const wxChar *format, va_list ap );
|
int wxVprintf( const wxChar *format, va_list ap );
|
||||||
int wxVsnprintf( wxChar *str, size_t size, const wxChar *format, va_list ap );
|
int wxVsnprintf( wxChar *str, size_t size, const wxChar *format, va_list ap );
|
||||||
int wxVsprintf( wxChar *str, const wxChar *format, va_list ap );
|
int wxVsprintf( wxChar *str, const wxChar *format, va_list ap );
|
||||||
#endif
|
|
||||||
|
#endif // wxNEED_PRINTF_CONVERSION
|
||||||
|
|
||||||
#if !defined(wxSnprintf) && !defined(wxHAS_SNPRINTF)
|
#if !defined(wxSnprintf) && !defined(wxHAS_SNPRINTF)
|
||||||
// wxSnprintf() is like snprintf() if it's available and sprintf() (always
|
// wxSnprintf() is like snprintf() if it's available and sprintf() (always
|
||||||
|
Loading…
Reference in New Issue
Block a user