]> 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 6b96900f33c1e5fa10d0c0b2de0be15d65beec31..a7ec8e86a673f21e18375efacf9d7a2f10562334 100644 (file)
@@ -21,7 +21,7 @@
     #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_ */