[clang] [lld] [llvm] Conditionalize use of POSIX features missing on WASI/WebAssembly (PR #92677)

via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 14 17:59:04 PDT 2024


================
@@ -41,6 +41,8 @@
 
 using namespace llvm;
 
+#if defined(_WIN32) || !defined(__wasi__)
----------------
whitequark wrote:

`raw_socket_stream` isn't actually used anywhere except for tests, so this doesn't break anything. Should it perhaps be removed instead?

https://github.com/llvm/llvm-project/pull/92677


More information about the cfe-commits mailing list