diff options
author | dartraiden <wowemuh@gmail.com> | 2023-12-10 18:24:59 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2023-12-10 18:25:15 +0300 |
commit | 83d9bcd403cc96cd82059d0e990d207f795343a7 (patch) | |
tree | 14f673bb728f5927b49bfe2f625e9ba5a9eaea18 | |
parent | 2ae0fc7299825cc561197d3f23c90e52ae8db58b (diff) |
libcurl: pick up Miranda-specific commits
-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 d7856dd4b7..388871d84a 100644 --- a/libs/libcurl/src/config-win32.h +++ b/libs/libcurl/src/config-win32.h @@ -167,6 +167,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. */
#if defined(__MINGW32__)
#define HAVE_STRCASECMP 1
@@ -529,6 +533,9 @@ Vista #define USE_WIN32_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 2505a6e47c..98e0853cb0 100644 --- a/libs/libcurl/src/curl_setup.h +++ b/libs/libcurl/src/curl_setup.h @@ -53,16 +53,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
/*
|