Skip to content

Commit aa9d6f1

Browse files
timschumilinusg
authored andcommitted
Revert "LibC: Make WEOF a signed value on clang"
We have fixed Clang to define `wint_t` as an unsigned value. This reverts commit ccb9cae.
1 parent 2788d46 commit aa9d6f1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Userland/Libraries/LibC/wchar.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,8 @@
1313

1414
__BEGIN_DECLS
1515

16-
// Note: wint_t is unsigned on gcc, and signed on clang.
1716
#ifndef WEOF
18-
# ifdef __clang__
19-
# define WEOF (-1)
20-
# else
21-
# define WEOF (0xffffffffu)
22-
# endif
17+
# define WEOF (0xffffffffu)
2318
#endif
2419

2520
#undef WCHAR_MAX

0 commit comments

Comments
 (0)