Adjustments to better select/differentiate when large/small file

support is provided using WIN32 functions directly.
This commit is contained in:
Yang Tse
2008-08-22 18:09:03 +00:00
parent 9bb5da968c
commit 9849c6b847
6 changed files with 102 additions and 18 deletions

View File

@@ -390,6 +390,22 @@
# endif
#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
/* ---------------------------------------------------------------- */
/* LDAP SUPPORT */
/* ---------------------------------------------------------------- */