X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e6a0e831533f031463477e11fd9e2c91f56bbbc..2a36259f27f58de31cdd66d6c5176e776fc25df3:/include/wx/longlong.h diff --git a/include/wx/longlong.h b/include/wx/longlong.h index c8778899ab..b2b617a804 100644 --- a/include/wx/longlong.h +++ b/include/wx/longlong.h @@ -25,7 +25,7 @@ #include // for LONG_MAX -//#define wxUSE_LONGLONG_WX 1 // for testing (VZ) +// #define wxUSE_LONGLONG_WX 1 // for testing (VZ) // ---------------------------------------------------------------------------- // decide upon which class we will use @@ -54,15 +54,17 @@ #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