don't use _INTEGRAL_MAX_BITS to decide whether a (Windows) compiler supports huge files, this fails with Borland, so test for all compilers explicitly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-10-27 11:27:38 +00:00
parent 34eeb223b4
commit 76c3651293

View File

@@ -168,11 +168,10 @@ enum wxFileKind
#undef wxHAS_HUGE_FILES #undef wxHAS_HUGE_FILES
// detect compilers which have support for huge files (notice that the // detect compilers which have support for huge files
// MSVC falls under _INTEGRAL_MAX_BITS >= 64 branch, so we don't have to #if defined(__VISUALC__)
// test for it explicitly) // not sure if VC++ 5 supports huge files, remove the #if below if yes
#if defined(_INTEGRAL_MAX_BITS) #if __VISUALC__ >= 1200
#if _INTEGRAL_MAX_BITS >= 64
#define wxHAS_HUGE_FILES 1 #define wxHAS_HUGE_FILES 1
#endif #endif
#elif defined(__MINGW32__) #elif defined(__MINGW32__)