← Winnitude! Search  ·  Reader Mode (1355 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 23 LINKS

0.3.1 --- the socket interface follows the C library by Sunrisepeak · Pull Request #18 · mcpplibs/tinyhttps

Repository navigation

0.3.1 --- the socket interface follows the C library - #18


Merged
Sunrisepeak merged 3 commits into master from openkal-0.13 Sep 17, 2026
Merged

0.3.1 --- the socket interface follows the C library #18 Sunrisepeak merged 3 commits into master from openkal-0.13

Conversation

Sunrisepeak commented Sep 17, 2026



Copy link Copy Markdown
Member

Closes the tinyhttps half of mcpplibs/mcpp-index#435 . The socket interface was selected by _WIN32; which interface exists is decided by the C library. TINYHTTPS_WINSOCK is derived once from _WIN32 and TINYHTTPS_POSIX_SOCKETS, and mcpp.toml defines the latter under cfg(c-abi = "musl"). A Windows build with the platform C runtime is unchanged. Part of the openkal 0.13 wave; the Windows cross build above openkal is verified once mcpp#662's fix is released.

Sunrisepeak added 3 commits September 17, 2026 16:40 0.3.1 --- the socket interface follows the C library 3a10a0f
src/socket.cppm and src/platform.cppm selected Windows Sockets with _WIN32,
which is a statement about the operating system. Which socket interface exists
is decided by the C library: above openkal on Windows the C library is musl,
winsock2.h is not in the graph, and the build failed (mcpp-index#435).

TINYHTTPS_WINSOCK is now derived once, from _WIN32 and TINYHTTPS_POSIX_SOCKETS,
and mcpp.toml defines the latter under cfg(c-abi = "musl"). A Windows build
with the platform's C runtime is unchanged. platform::is_windows is renamed
uses_winsock, which is what its one caller asks.

Comments carry no emoji.
CHANGELOG: 0.3.1 89e56d2 README: the install line names this release fd9f493 Sunrisepeak merged commit c34f1ec into master Sep 17, 2026 2 checks passed Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

1 participant