-
-// Microsoft compiler loves underscores, feed them to it
-#elif defined( __VISUALC__ ) \
- || ( defined(__MINGW32__) && !defined(__WINE__) && wxCHECK_W32API_VERSION( 0, 5 ) ) \
- || ( defined(__MWERKS__) && defined(__WXMSW__) ) \
- || ( defined(__DMC__) && defined(__WXMSW__) ) \
- || ( defined(__WATCOMC__) && defined(__WXMSW__) )
-
- // detect compilers which have support for huge files (currently only
- // Digital Mars doesn't)
- #include "wx/msw/private.h"
-
- #undef __HUGEFILES_SUPPORTED
- #if defined(__MINGW32__)
- #define __HUGEFILES_SUPPORTED 1
- #elif defined(__DMC__)
- #define __HUGEFILES_SUPPORTED 0
- #elif ((_INTEGRAL_MAX_BITS >= 64) || defined(_LARGE_FILES))
- #define __HUGEFILES_SUPPORTED 1
- #else
- #define __HUGEFILES_SUPPORTED 0
+#elif defined(__WXMSW__) && !defined(__WXPALMOS__) && \
+ ( \
+ defined(__VISUALC__) || \
+ (defined(__MINGW32__) && !defined(__WINE__) && \
+ wxCHECK_W32API_VERSION(0, 5)) || \
+ defined(__MWERKS__) || \
+ defined(__DMC__) || \
+ defined(__WATCOMC__) || \
+ defined(__BORLANDC__) \
+ )
+
+ #undef wxHAS_HUGE_FILES
+
+ // detect compilers which have support for huge files
+ #if defined(__VISUALC__)
+ #define wxHAS_HUGE_FILES 1
+ #elif defined(__MINGW32__)
+ #define wxHAS_HUGE_FILES 1
+ #elif defined(_LARGE_FILES)
+ #define wxHAS_HUGE_FILES 1