mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:33:35 +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
|
|
@ -622,6 +622,9 @@
|
|||
/* Define this symbol if your OS supports changing the contents of argv */
|
||||
#cmakedefine HAVE_WRITABLE_ARGV 1
|
||||
|
||||
/* Define this if time_t is unsigned */
|
||||
#cmakedefine HAVE_TIME_T_UNSIGNED 1
|
||||
|
||||
/* Define to 1 if _REENTRANT preprocessor symbol must be defined. */
|
||||
#cmakedefine NEED_REENTRANT 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue