mirror of
https://github.com/curl/curl.git
synced 2026-07-16 00:07:22 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue