#include <limits.h> // for LONG_MAX
-#define wxUSE_LONGLONG_WX 1
+// #define wxUSE_LONGLONG_WX 1 // for testing (VZ)
// ----------------------------------------------------------------------------
// decide upon which class we will use
#error "The 64 bit integer support in CodeWarrior has been disabled."
#error "See the documentation on the 'longlong' pragma."
#endif
+#elif defined(__VISAGECPP__) && __IBMCPP__ >= 400
+ #define wxLongLong_t long long
#else // no native long long type
- // we don't give warnings for the compilers we know about that they don't
- // have any 64 bit integer type
- #if !defined(__VISAGECPP__) && \
- !defined(__VISUALC__) && \
- !defined(__BORLANDC__
- #warning "Your compiler does not appear to support 64 bit integers, "\
- "using emulation class instead."
- #endif // known compilers without long long
+ // both warning and pragma warning are not portable, but at least an
+ // unknown pragma should never be an error.
+ // Err, actually, Watcom C++ doesn't like it.
+ // (well, if the compilers are _that_ broken, I'm removing it (VZ))
+#if 0 //ndef __WATCOMC__
+ #pragma warning "Your compiler does not appear to support 64 bit "\
+ "integers, using emulation class instead."
+#endif
#define wxUSE_LONGLONG_WX 1
#endif // compiler