diff options
author | dartraiden <wowemuh@gmail.com> | 2023-09-16 22:54:57 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2023-09-16 22:54:57 +0300 |
commit | b68262a96dd88ce6e2456623ecbb3a3b8ba8c1b0 (patch) | |
tree | 7a2d1ba3bf16acc5d86d490c36ccf1c932176d00 /libs/libcurl/src | |
parent | 47346b568cae68439c3d39f06f8c4ab14911475d (diff) |
libcurl: pick up Miranda-specific commits
Diffstat (limited to 'libs/libcurl/src')
-rw-r--r-- | libs/libcurl/src/config-win32.h | 7 | ||||
-rw-r--r-- | libs/libcurl/src/curl_setup.h | 10 |
2 files changed, 7 insertions, 10 deletions
diff --git a/libs/libcurl/src/config-win32.h b/libs/libcurl/src/config-win32.h index 96ca1547d3..afd54c5cc5 100644 --- a/libs/libcurl/src/config-win32.h +++ b/libs/libcurl/src/config-win32.h @@ -202,6 +202,10 @@ /* Define if you have the socket function. */
#define HAVE_SOCKET 1
+/* Define if libSSH2 is in use */
+#define USE_LIBSSH2 1
+#define HAVE_LIBSSH2_H 1
+
/* Define if you have the strcasecmp function. */
#ifdef __MINGW32__
#define HAVE_STRCASECMP 1
@@ -620,6 +624,9 @@ Vista # define CURL_DISABLE_LDAP 1
#endif
+/* if SSL is enabled */
+#define USE_OPENSSL 1
+
/* Define to use the Windows crypto library. */
#if !defined(CURL_WINDOWS_APP)
#define USE_WIN32_CRYPTO
diff --git a/libs/libcurl/src/curl_setup.h b/libs/libcurl/src/curl_setup.h index c85275d3c6..48bcdd222d 100644 --- a/libs/libcurl/src/curl_setup.h +++ b/libs/libcurl/src/curl_setup.h @@ -61,16 +61,6 @@ # ifndef NOGDI
# define NOGDI
# endif
-/* Detect Windows App environment which has a restricted access
- * to the Win32 APIs. */
-# if (defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0602)) || \
- defined(WINAPI_FAMILY)
-# include <winapifamily.h>
-# if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) && \
- !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
-# define CURL_WINDOWS_APP
-# endif
-# endif
#endif
/*
|