Skip to content

build: fix unsigned time_t detection for cmake, MS-DOS, AmigaOS#15868

Closed
vszakats wants to merge 5 commits intocurl:masterfrom
vszakats:build-time_t-unsigned
Closed

build: fix unsigned time_t detection for cmake, MS-DOS, AmigaOS#15868
vszakats wants to merge 5 commits intocurl:masterfrom
vszakats:build-time_t-unsigned

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Dec 30, 2024

  • 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.

w/o whitespace: https://github.com/curl/curl/pull/15868/files?w=1

tidy up configure detection snippet.
These happen to be cross-builds typically where auto-detection fails.
@vszakats vszakats changed the title build: unsigned time_t detection fixups build: fix unsigned time_t detection for cmake, MS-DOS, AmigaOS Dec 31, 2024
@vszakats vszakats closed this in 10fe952 Dec 31, 2024
@vszakats vszakats deleted the build-time_t-unsigned branch December 31, 2024 10:38
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
- 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 curl#15868
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant

Comments