================ @@ -23,10 +23,19 @@ #include <cstdint> #include <memory> #include <string> +#ifdef LLVM_ON_UNIX +#include <unistd.h> +#else +// Windows/MSVC fallback +#define STDIN_FILENO 0 +#define STDOUT_FILENO 1 +#define STDERR_FILENO 2 +#endif ---------------- kr-2003 wrote:
yes, i don't think we need these now https://github.com/llvm/llvm-project/pull/147478 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits