summaryrefslogtreecommitdiff
path: root/lib/config-win32ce.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-22 18:09:03 +0000
committerYang Tse <yangsita@gmail.com>2008-08-22 18:09:03 +0000
commit9849c6b8479f18d983eadd58d7ba6f9feaaa8f6a (patch)
tree975fea4964c402e7ff3ec78177e4520d773a987e /lib/config-win32ce.h
parent9bb5da968c7ab38434d426f9928bcd69cf4ebb02 (diff)
downloadcurl-9849c6b8479f18d983eadd58d7ba6f9feaaa8f6a.tar.gz
Adjustments to better select/differentiate when large/small file
support is provided using WIN32 functions directly.
Diffstat (limited to 'lib/config-win32ce.h')
-rw-r--r--lib/config-win32ce.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/config-win32ce.h b/lib/config-win32ce.h
index 21f7eea64..50ddd18b8 100644
--- a/lib/config-win32ce.h
+++ b/lib/config-win32ce.h
@@ -341,6 +341,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
+
+/* ---------------------------------------------------------------- */
/* LDAP SUPPORT */
/* ---------------------------------------------------------------- */