mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-01 04:03:24 +03:00
curl: Select file APIs on Windows
Choose small or large file support based on capabilities of compiler and target platform.
This commit is contained in:
1 parent
5a3b55ed7c
commit
860f0a2ddc
2 files changed
+11
-4
No files matched your search
@@ -906,10 +906,6 @@
|
||||
/* if SSL is enabled */
|
||||
#cmakedefine USE_SSLEAY 1
|
||||
|
||||
/* Define to 1 if you are building a Windows target without large file
|
||||
support. */
|
||||
#cmakedefine USE_WIN32_LARGE_FILES 1
|
||||
|
||||
/* to enable SSPI support */
|
||||
#cmakedefine USE_WINDOWS_SSPI 1
|
||||
|
||||
|
||||
@@ -345,6 +345,17 @@
|
||||
#include <clib.h>
|
||||
#endif
|
||||
|
||||
/* Default Windows file API selection. */
|
||||
#ifdef _WIN32
|
||||
# if defined(_MSC_VER) && (_INTEGRAL_MAX_BITS >= 64)
|
||||
# define USE_WIN32_LARGE_FILES
|
||||
# elif defined(__MINGW32__)
|
||||
# define USE_WIN32_LARGE_FILES
|
||||
# else
|
||||
# define USE_WIN32_SMALL_FILES
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Large file (>2Gb) support using WIN32 functions.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user