]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/gccpriv.h
allow compilation with wxUSE_CHOICEDLG set to 0
[wxWidgets.git] / include / wx / msw / gccpriv.h
index 220e1bcd63c07ff389b9f6344fc368788806467f..a7ec8e86a673f21e18375efacf9d7a2f10562334 100644 (file)
     #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_ */