From 74ee96987a45db583cbf61b6d9ccb5219122e98c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 23 Aug 2002 19:53:25 +0000 Subject: [PATCH] compilation fix for Unicode build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/wxchar.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 2693bdbf06..ee7f0b225f 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -609,6 +609,9 @@ WXDLLEXPORT bool wxOKlibc(); // for internal use // We need conversion from %s to %ls in Unicode mode under Unix #ifdef wxNEED_PRINTF_CONVERSION + +#include // need FILE + int wxScanf( const wxChar *format, ... ) ATTRIBUTE_PRINTF_2; int wxSscanf( const wxChar *str, 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 wxVsnprintf( wxChar *str, size_t size, 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) // wxSnprintf() is like snprintf() if it's available and sprintf() (always -- 2.50.0