]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use _INTEGRAL_MAX_BITS to decide whether a (Windows) compiler supports huge...
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 27 Oct 2006 11:27:38 +0000 (11:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 27 Oct 2006 11:27:38 +0000 (11:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/filefn.h

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