mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-01 13:49:05 +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:
parent
2788d46ae0
commit
aa9d6f17b6
Notes:
sideshowbarker
2024-07-17 17:09:06 +09:00
Author: https://github.com/timschumi
Commit: aa9d6f17b6
Pull-request: https://github.com/SerenityOS/serenity/pull/12991
Reviewed-by: https://github.com/BertalanD ✅
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue