X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40973ea5fd3b23a02d14f1cc902e6cf01735e9ab..84e5f5395d1a2834b28b797689c9d88b2ff4d134:/include/wx/longlong.h?ds=sidebyside diff --git a/include/wx/longlong.h b/include/wx/longlong.h index 562c1e1de4..8a83c550ea 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 @@ -55,14 +55,10 @@ #error "See the documentation on the 'longlong' pragma." #endif #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 + #pragma warning "Your compiler does not appear to support 64 bit "\ + "integers, using emulation class instead." #define wxUSE_LONGLONG_WX 1 #endif // compiler