define wxCHECK_W32API_VERSION for OpenWatcom and DigitalMars

compilers because both of them use w32api


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-07-05 14:50:26 +00:00
parent 149cc21856
commit ac776ec973
2 changed files with 19 additions and 12 deletions

View File

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