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:
parent
2788d46ae0
commit
aa9d6f17b6
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