Browse Source

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

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

This reverts commit ccb9cae8e903a8043f813675639831e1890190c7.
Tim Schumacher 3 years ago
parent
commit
aa9d6f17b6
1 changed files with 1 additions and 6 deletions
  1. 1 6
      Userland/Libraries/LibC/wchar.h

+ 1 - 6
Userland/Libraries/LibC/wchar.h

@@ -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