diff options
author | dartraiden <wowemuh@gmail.com> | 2023-10-11 18:38:17 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2023-10-11 18:38:34 +0300 |
commit | b318579e6df37424d6dc431c0ecbda6527ff4596 (patch) | |
tree | 284b116587ec026eb8b404849b67477367d47e44 /libs/libcurl/src | |
parent | b7dfc6fda6f6b461f45a2ce457911bf128160208 (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 c7c22e6811..486d5ccab1 100644 --- a/libs/libcurl/src/config-win32.h +++ b/libs/libcurl/src/config-win32.h @@ -180,6 +180,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
@@ -600,6 +604,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 f1fff53e7b..b3995b87c6 100644 --- a/libs/libcurl/src/curl_setup.h +++ b/libs/libcurl/src/curl_setup.h @@ -56,16 +56,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
/*
|