Skip to content

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Oct 10, 2025

Use CMAKE_SIZEOF_VOID_P to fill the size of three types that differ
on 32 and 64-bit Windows: curl_socket_t, size_t, and on mingw-w64:
ssize_t.

time_t remains the only type needing detection at configuration time,
with MSVC or mingw-w64.

Ref: https://cmake.org/cmake/help/v4.1/variable/CMAKE_SIZEOF_VOID_P.html

@github-actions github-actions bot added the build label Oct 10, 2025
@vszakats vszakats marked this pull request as draft October 10, 2025 21:11
@vszakats vszakats marked this pull request as ready for review October 10, 2025 21:50
@vszakats vszakats changed the title cmake: pre-fill 3 more type sizes on Windows cmake: pre-fill three more type sizes on Windows Oct 10, 2025
@vszakats vszakats closed this in f04e7a7 Oct 10, 2025
@vszakats vszakats deleted the cmwfillmore branch October 10, 2025 23:06
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