mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08:00
parsedate: provide Curl_wkday also for GnuTLS builds
Otherwise --disable-dateparse + --with-gnutls builds might fail. Found with randdisable Closes #16943
This commit is contained in:
parent
3d4e4a1874
commit
d6a626d5d8
@ -106,7 +106,7 @@ static int parsedate(const char *date, time_t *output);
|
||||
#endif
|
||||
|
||||
#if !defined(CURL_DISABLE_PARSEDATE) || !defined(CURL_DISABLE_FTP) || \
|
||||
!defined(CURL_DISABLE_FILE)
|
||||
!defined(CURL_DISABLE_FILE) || defined(USE_GNUTLS)
|
||||
/* These names are also used by FTP and FILE code */
|
||||
const char * const Curl_wkday[] =
|
||||
{"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"};
|
||||
|
Loading…
x
Reference in New Issue
Block a user