X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e433504316adbf73756f7f5e2e79564b1659ab98..adb799d6ef8e1ba754ab08b26e64fa40219f95f8:/include/wx/msw/gccpriv.h diff --git a/include/wx/msw/gccpriv.h b/include/wx/msw/gccpriv.h index 6b96900f33..a7ec8e86a6 100644 --- a/include/wx/msw/gccpriv.h +++ b/include/wx/msw/gccpriv.h @@ -21,7 +21,7 @@ #endif #endif -#if (defined(__WATCOMC__) && __WATCOMC__ >= 1200) || defined(__DIGITALMARS__) +#if (defined(__WATCOMC__) && __WATCOMC__ >= 1200) #define HAVE_W32API_H #endif @@ -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_ */