refactor(platform): make remaining POSIX assumptions explicit
This commit is contained in:
1 parent
1a4c062021
commit
b8c362917f
6 files changed
+26
-1
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user