X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b6caf397b36152ac898a0e721baf53fd80a1fe0b..b9b3ccd9ea9bf892369a6fa2c8e28e0ceca18527:/src/msw/ole/automtn.cpp diff --git a/src/msw/ole/automtn.cpp b/src/msw/ole/automtn.cpp index 4dad2d2c78..5263230b30 100644 --- a/src/msw/ole/automtn.cpp +++ b/src/msw/ole/automtn.cpp @@ -29,6 +29,10 @@ #include "wx/msw/private.h" +#include +#include +#include +#define _huge #include #include @@ -663,7 +667,7 @@ bool ConvertOleToVariant(const VARIANTARG& oleVariant, wxVariant& variant) case VT_BOOL: { -#if defined(__WATCOMC__) || (defined(_MSC_VER) && (_MSC_VER <= 1000)) //GC +#if defined(__WATCOMC__) || (defined(_MSC_VER) && (_MSC_VER <= 1000) && !defined(__MWERKS__) ) //GC #ifndef HAVE_BOOL // Can't use bool operator if no native bool type variant = (long) (oleVariant.bool != 0); #else