[clang] [lld] [llvm] Conditionalize use of POSIX features missing on WASI/WebAssembly (PR #92677)
James Y Knight via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 14 17:37:32 PDT 2024
================
@@ -30,7 +30,10 @@
#include <cstring>
#include <string>
#include <sys/types.h>
+
+#if !defined(__wasi__)
#include <sys/wait.h>
----------------
jyknight wrote:
Is this header even needed on other platforms? I don't see anything clearly 'wait' related in this header.
https://github.com/llvm/llvm-project/pull/92677
More information about the cfe-commits
mailing list