#endif
#endif
-#if (defined(__WATCOMC__) && __WATCOMC__ >= 1200) || defined(__DIGITALMARS__)
+#if (defined(__WATCOMC__) && __WATCOMC__ >= 1200)
#define HAVE_W32API_H
#endif
#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_ */