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:
parent
eb2a7883df
commit
08848c9f95
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user