git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16804
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#define wxPuts putws
#define wxFputs fputws
#else
#define wxPuts putws
#define wxFputs fputws
#else
+ #define wxNEED_FPUTWC
+
#include <stdio.h>
int wxFputs(const wxChar *ch, FILE *stream);
#include <stdio.h>
int wxFputs(const wxChar *ch, FILE *stream);
// implement the standard IO functions for wide char if libc doesn't have them
// ----------------------------------------------------------------------------
// implement the standard IO functions for wide char if libc doesn't have them
// ----------------------------------------------------------------------------
int wxFputs(const wchar_t *ws, FILE *stream)
{
int wxFputs(const wchar_t *ws, FILE *stream)
{
return wxFputs(ws, stream);
}
return wxFputs(ws, stream);
}
// NB: we only implement va_list functions here, the ones taking ... are
// defined below for wxNEED_PRINTF_CONVERSION case anyhow and we reuse
// NB: we only implement va_list functions here, the ones taking ... are
// defined below for wxNEED_PRINTF_CONVERSION case anyhow and we reuse