This macro can be used to check that the version of mingw32 compiler is
at least maj.min
*/
-#if defined( __GNUWIN32__ ) || defined( __MINGW32__ ) || \
+#if ( defined( __GNUWIN32__ ) || defined( __MINGW32__ ) || \
defined( __CYGWIN__ ) || \
- (defined(__WATCOMC__) && __WATCOMC__ >= 1200)
+ (defined(__WATCOMC__) && __WATCOMC__ >= 1200) ) && \
+ !defined(__DOS__)
# include "wx/msw/gccpriv.h"
#else
# undef wxCHECK_W32API_VERSION