1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:14:58 +00:00

Revert "LibC: Make WEOF a signed value on clang"

We have fixed Clang to define `wint_t` as an unsigned value.

This reverts commit ccb9cae8e9.
This commit is contained in:
Tim Schumacher 2022-03-10 18:13:30 +01:00 committed by Linus Groh
parent 2788d46ae0
commit aa9d6f17b6

View file

@ -13,13 +13,8 @@
__BEGIN_DECLS
// Note: wint_t is unsigned on gcc, and signed on clang.
#ifndef WEOF
# ifdef __clang__
# define WEOF (-1)
# else
# define WEOF (0xffffffffu)
# endif
# define WEOF (0xffffffffu)
#endif
#undef WCHAR_MAX