define _puttchar for mingw32 as it doesn't have it (patch 875611)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-04-15 22:34:19 +00:00
parent eb2a7883df
commit 08848c9f95

View File

@ -90,6 +90,16 @@
#endif
#endif
// current mingw32 headers forget to define _puttchar, this will probably be
// fixed in the next versions but for now do it ourselves
#if defined( __MINGW32__ ) && !defined( _puttchar )
#ifdef wxUSE_UNICODE
#define _puttchar putwchar
#else
#define _puttchar puttchar
#endif
#endif
#endif
/* _WX_MSW_GCCPRIV_H_ */