diff options
Diffstat (limited to 'src/config-win32.h')
-rw-r--r-- | src/config-win32.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/config-win32.h b/src/config-win32.h index 84a16fdc8..654d892d8 100644 --- a/src/config-win32.h +++ b/src/config-win32.h @@ -236,6 +236,22 @@ #endif /* ---------------------------------------------------------------- */ +/* LARGE FILE SUPPORT */ +/* ---------------------------------------------------------------- */ + +#if defined(_MSC_VER) && !defined(_WIN32_WCE) +# if (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64) +# define USE_WIN32_LARGE_FILES +# else +# define USE_WIN32_SMALL_FILES +# endif +#endif + +#if !defined(USE_WIN32_LARGE_FILES) && !defined(USE_WIN32_SMALL_FILES) +# define USE_WIN32_SMALL_FILES +#endif + +/* ---------------------------------------------------------------- */ /* ADDITIONAL DEFINITIONS */ /* ---------------------------------------------------------------- */ |