refactor(platform): make remaining POSIX assumptions explicit
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 4s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 9s

This commit is contained in:
faumaray committed 2026-12-04 08:36:16 +03:00
1 parent 1a4c062021
commit b8c362917f
6 files changed
+26 -1

No files matched your search

+8
View File
@@ -6,6 +6,14 @@
#include <Void/Text/Url.hpp>
#include <algorithm>
// Track C1 platform boundary: the fallback HTTP server (sockets, poll) and the loopback test
// client in this translation unit require a POSIX host (Linux/macOS/BSD). Void::Net covers
// only the server transport, so Windows stays unsupported until both sides are portable.
#if defined(_WIN32)
#error "registry/service/HttpServer.cpp requires a POSIX host"
#endif
#include <arpa/inet.h>
#include <array>
#include <cerrno>