mirror of
https://github.com/curl/curl.git
synced 2026-08-02 15:10:28 +03:00
or higher -> or greater 10 lib
This commit is contained in:
parent
2acfc38883
commit
b360e62e21
12 changed files with 18 additions and 18 deletions
|
|
@ -61,12 +61,12 @@
|
|||
#include <ares.h>
|
||||
|
||||
#if ARES_VERSION < 0x011000
|
||||
#error "requires c-ares 1.16.0 or higher"
|
||||
#error "requires c-ares 1.16.0 or greater"
|
||||
#endif
|
||||
|
||||
#ifdef USE_HTTPSRR
|
||||
#if ARES_VERSION < 0x011c00
|
||||
#error "requires c-ares 1.28.0 or higher for HTTPSRR"
|
||||
#error "requires c-ares 1.28.0 or greater for HTTPSRR"
|
||||
#endif
|
||||
#define HTTPSRR_WORKS
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ timediff_t Curl_async_timeleft_ms(struct Curl_easy *data,
|
|||
#ifdef USE_ARES
|
||||
|
||||
#if ARES_VERSION < 0x011000
|
||||
#error "requires c-ares 1.16.0 or higher"
|
||||
#error "requires c-ares 1.16.0 or greater"
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
#ifdef HAVE_LIBZ
|
||||
|
||||
#if !defined(ZLIB_VERNUM) || (ZLIB_VERNUM < 0x1252)
|
||||
#error "requires zlib 1.2.5.2 or higher"
|
||||
#error "requires zlib 1.2.5.2 or greater"
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@
|
|||
#elif defined(USE_MBEDTLS) && defined(HAVE_MBEDTLS_DES_CRYPT_ECB)
|
||||
# include <mbedtls/version.h>
|
||||
# if MBEDTLS_VERSION_NUMBER < 0x03020000
|
||||
# error "mbedTLS 3.2.0 or higher required"
|
||||
# error "mbedTLS 3.2.0 or greater required"
|
||||
# endif
|
||||
# include <mbedtls/des.h>
|
||||
# define USE_MBEDTLS_DES
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@
|
|||
|
||||
#if defined(__MINGW32__) && \
|
||||
(!defined(__MINGW64_VERSION_MAJOR) || (__MINGW64_VERSION_MAJOR < 3))
|
||||
#error "Building curl requires mingw-w64 3.0 or higher"
|
||||
#error "Building curl requires mingw-w64 3.0 or greater"
|
||||
#endif
|
||||
|
||||
/* Visual Studio 2010 is the minimum Visual Studio version we support.
|
||||
|
|
@ -182,7 +182,7 @@
|
|||
|
||||
#ifdef HAVE_LIBZ
|
||||
# ifndef ZLIB_CONST
|
||||
# define ZLIB_CONST /* Use z_const. Supported by v1.2.5.2 or higher. */
|
||||
# define ZLIB_CONST /* Use z_const. Supported by v1.2.5.2 or greater. */
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ struct Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname,
|
|||
#elif defined(HAVE_GETHOSTBYNAME_R_3)
|
||||
/* AIX, Digital UNIX/Tru64, HP-UX 10, more? */
|
||||
|
||||
/* For AIX 4.3 or higher, we do not use gethostbyname_r() at all, because of
|
||||
/* For AIX 4.3 or greater, we do not use gethostbyname_r() at all, because of
|
||||
* the plain fact that it does not return unique full buffers on each
|
||||
* call, but instead several of the pointers in the hostent structs will
|
||||
* point to the same actual data! This have the unfortunate down-side that
|
||||
|
|
@ -214,7 +214,7 @@ struct Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname,
|
|||
* the plain old gethostbyname() work fine even for multi-threaded
|
||||
* programs.
|
||||
*
|
||||
* This AIX 4.3 or higher detection is all made in the configure script.
|
||||
* This AIX 4.3 or greater detection is all made in the configure script.
|
||||
*
|
||||
* Troels Walsted Hansen helped us work this out on March 3rd, 2003.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
#ifdef USE_MBEDTLS
|
||||
#include <mbedtls/version.h>
|
||||
#if MBEDTLS_VERSION_NUMBER < 0x03020000
|
||||
#error "mbedTLS 3.2.0 or higher required"
|
||||
#error "mbedTLS 3.2.0 or greater required"
|
||||
#endif
|
||||
#include <psa/crypto_config.h>
|
||||
#endif
|
||||
|
|
@ -157,8 +157,8 @@ static void my_md5_final(unsigned char *digest, void *ctx)
|
|||
#include <CommonCrypto/CommonDigest.h>
|
||||
|
||||
/* For Apple operating systems: CommonCrypto has the functions we need.
|
||||
These functions are available on 10.4 (Tiger) or higher, as well as
|
||||
iOS 2.0 or higher. If you are building for an older cat, well, sorry.
|
||||
These functions are available on 10.4 (Tiger) or greater, as well as
|
||||
iOS 2.0 or greater. If you are building for an older cat, well, sorry.
|
||||
|
||||
Declaring the functions as static like this seems to be a bit more
|
||||
reliable than defining COMMON_DIGEST_FOR_OPENSSL on older cats. */
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ static char *vms_getenv(const char *envvar)
|
|||
/* may do a malloc(2048) for each call to getenv(), so you will need */
|
||||
/* to add a free(vms_path) */
|
||||
/* Do not do a free() for DEC C RTL builds, which should be used for */
|
||||
/* VMS 5.5-2 or higher, even if using GCC */
|
||||
/* VMS 5.5-2 or greater, even if using GCC */
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
#ifdef USE_MBEDTLS
|
||||
#include <mbedtls/version.h>
|
||||
#if MBEDTLS_VERSION_NUMBER < 0x03020000
|
||||
#error "mbedTLS 3.2.0 or higher required"
|
||||
#error "mbedTLS 3.2.0 or greater required"
|
||||
#endif
|
||||
#include <psa/crypto_config.h>
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -544,7 +544,7 @@ static bool xfer_may_multiplex(const struct Curl_easy *data,
|
|||
|
||||
if(Curl_multiplex_wanted(data->multi) &&
|
||||
(data->state.http_neg.allowed & (CURL_HTTP_V2x | CURL_HTTP_V3x)))
|
||||
/* allows HTTP/2 or higher */
|
||||
/* allows HTTP/2 or greater */
|
||||
return TRUE;
|
||||
}
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -616,7 +616,7 @@ curl_version_info_data *curl_version_info(CURLversion stamp)
|
|||
}
|
||||
#endif
|
||||
#ifdef USE_LIBIDN2
|
||||
/* This returns a version string if we use the given version or higher,
|
||||
/* This returns a version string if we use the given version or greater,
|
||||
otherwise it returns NULL */
|
||||
version_info.libidn = idn2_check_version(IDN2_VERSION);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ extern const struct Curl_protocol Curl_protocol_scp;
|
|||
#include <libssh2.h>
|
||||
#include <libssh2_sftp.h>
|
||||
#elif defined(USE_LIBSSH)
|
||||
/* in 0.10.0 or higher, ignore deprecated warnings */
|
||||
/* in 0.10.0 or greater, ignore deprecated warnings */
|
||||
#define SSH_SUPPRESS_DEPRECATED
|
||||
#include <libssh/libssh.h>
|
||||
#include <libssh/sftp.h>
|
||||
|
|
@ -220,7 +220,7 @@ struct ssh_conn {
|
|||
|
||||
#ifdef USE_LIBSSH
|
||||
#if LIBSSH_VERSION_INT < SSH_VERSION_INT(0, 9, 0)
|
||||
#error "SCP/SFTP protocols require libssh 0.9.0 or higher"
|
||||
#error "SCP/SFTP protocols require libssh 0.9.0 or greater"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue