From aaf2feb38cce75a98a079523913705fa5bc08f23 Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Wed, 10 Dec 2025 03:58:07 +0000 Subject: [PATCH] [compiler-rt] Fix usage of `stdin`/`stdout` From #170809. Causes compile errors when `stdin`/`stdout` are #defined in stdio.h. --- compiler-rt/lib/sanitizer_common/sanitizer_posix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_posix.h b/compiler-rt/lib/sanitizer_common/sanitizer_posix.h index 063408b8360c1..dc9c3b8822d30 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_posix.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_posix.h @@ -68,7 +68,7 @@ uptr internal_waitpid(int pid, int *status, int options); int internal_fork(); bool internal_spawn(const char* argv[], const char* envp[], pid_t* pid, - fd_t stdin, fd_t stdout); + fd_t fd_stdin, fd_t fd_stdout); int internal_sysctl(const int *name, unsigned int namelen, void *oldp, uptr *oldlenp, const void *newp, uptr newlen);