mirror of
https://github.com/curl/curl.git
synced 2026-08-25 19:13:34 +03:00
build: fix unsigned time_t detection for cmake, MS-DOS, AmigaOS
- cmake: add auto-detection. Sync this with autotools. - enable for MS-DOS and AmigaOS builds. (auto-detection doesn't work for cross-builds.) - tidy up detection snippet. - fix comment. Closes #15868
This commit is contained in:
parent
f60f872bcd
commit
10fe952da0
4 changed files with 41 additions and 18 deletions
|
|
@ -170,6 +170,7 @@ set(HAVE_POSIX_STRERROR_R 0)
|
|||
set(HAVE_MSG_NOSIGNAL 0)
|
||||
set(HAVE_STRUCT_TIMEVAL 1)
|
||||
set(HAVE_STRUCT_SOCKADDR_STORAGE 1)
|
||||
set(HAVE_TIME_T_UNSIGNED 0)
|
||||
|
||||
set(HAVE_GETHOSTBYNAME_R_3 0)
|
||||
set(HAVE_GETHOSTBYNAME_R_3_REENTRANT 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue