From 05b5c20276f130558f96822e7a37c67b6854c85f Mon Sep 17 00:00:00 2001 From: Yao Zi Date: Mon, 23 Dec 2024 19:23:33 +0000 Subject: [PATCH] fix suite/tests/tools.c on musl --- suite/tests/tools.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/suite/tests/tools.c b/suite/tests/tools.c index 44560c533f0..9ba23bc58b5 100644 --- a/suite/tests/tools.c +++ b/suite/tests/tools.c @@ -381,6 +381,9 @@ nolibc_print(const char *str) 3, # if defined(MACOS) || defined(ANDROID) stderr->_file, + /* TODO i#1973: handle opaque FILE * on musl libc */ +# elif defined(MUSL) + STDERR_FILENO, # else stderr->_fileno, # endif