[libc-commits] [libc] [libc] Fix WEOF and fix 1'000'000 error messages on test failure (PR #147928)

via libc-commits libc-commits at lists.llvm.org
Thu Jul 10 07:48:16 PDT 2025


================
@@ -10,7 +10,7 @@
 #define LLVM_LIBC_MACROS_WCHAR_MACROS_H
 
 #ifndef WEOF
-#define WEOF 0xffffffffu
+#define WEOF ((wint_t)(0xffffffffu))
----------------
lntue wrote:

Can you add `#include "../llvm-libc-types/wint_t.h"` to get `win_t` definition?

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


More information about the libc-commits mailing list