(blind) fix for BC++ compilation problem with wxPutc() redefinition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9c6b482464
commit
d4ea46dbad
@ -396,6 +396,8 @@
|
||||
#define wxPuts putws
|
||||
#define wxFputs fputws
|
||||
#else
|
||||
#define wxNEED_FPUTWC
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int wxFputs(const wxChar *ch, FILE *stream);
|
||||
|
@ -451,7 +451,7 @@ int WXDLLEXPORT wxSnprintf_(wxChar *buf, size_t len, const wxChar *format, ...)
|
||||
// implement the standard IO functions for wide char if libc doesn't have them
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#ifndef HAVE_FPUTWC
|
||||
#ifdef wxNEED_FPUTWC
|
||||
|
||||
int wxFputs(const wchar_t *ws, FILE *stream)
|
||||
{
|
||||
@ -467,7 +467,7 @@ int /* not wint_t */ wxPutc(wchar_t wc, FILE *stream)
|
||||
return wxFputs(ws, stream);
|
||||
}
|
||||
|
||||
#endif // HAVE_FPUTWC
|
||||
#endif // wxNEED_FPUTWC
|
||||
|
||||
// NB: we only implement va_list functions here, the ones taking ... are
|
||||
// defined below for wxNEED_PRINTF_CONVERSION case anyhow and we reuse
|
||||
|
Loading…
Reference in New Issue
Block a user