-// 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 )
+/* current (= before mingw-runtime 3.3) mingw32 headers forget to
+ define _puttchar, this will probably be fixed in the next versions but
+ for now do it ourselves
+ */
+#if defined( __MINGW32__ ) && \
+ !wxCHECK_MINGW32_VERSION(3,3) && !defined( _puttchar )