diff --git a/include/wx/defs.h b/include/wx/defs.h index 9669936041..d638ba2db3 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -274,7 +274,9 @@ // Cygwin supports bool #define HAVE_BOOL #elif defined(__VISAGECPP__) - typedef unsigned long bool; + #if __IBMCPP__ < 400 + typedef unsigned long bool; + #endif #define HAVE_BOOL #endif // compilers #endif // HAVE_BOOL