mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 05:58:01 -05:00
curl_setup: move the precautionary define of SIZEOF_TIME_T
... up to before it may be used for the TIME_T_MAX/MIN logic. Reported-by: Michael Kaufmann
This commit is contained in:
parent
fcb9b63ee5
commit
9409d0c26c
@ -389,6 +389,11 @@
|
|||||||
# define LSEEK_ERROR (off_t)-1
|
# define LSEEK_ERROR (off_t)-1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef SIZEOF_TIME_T
|
||||||
|
/* assume default size of time_t to be 32 bit */
|
||||||
|
#define SIZEOF_TIME_T 4
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Default sizeof(off_t) in case it hasn't been defined in config file.
|
* Default sizeof(off_t) in case it hasn't been defined in config file.
|
||||||
*/
|
*/
|
||||||
@ -625,11 +630,6 @@ int netware_init(void);
|
|||||||
#error "Both libidn2 and WinIDN are enabled, choose one."
|
#error "Both libidn2 and WinIDN are enabled, choose one."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef SIZEOF_TIME_T
|
|
||||||
/* assume default size of time_t to be 32 bit */
|
|
||||||
#define SIZEOF_TIME_T 4
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define LIBIDN_REQUIRED_VERSION "0.4.1"
|
#define LIBIDN_REQUIRED_VERSION "0.4.1"
|
||||||
|
|
||||||
#if defined(USE_GNUTLS) || defined(USE_OPENSSL) || defined(USE_NSS) || \
|
#if defined(USE_GNUTLS) || defined(USE_OPENSSL) || defined(USE_NSS) || \
|
||||||
|
Loading…
Reference in New Issue
Block a user