summaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wchar.h b/include/wchar.h
index a6742e37..96cd4447 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -36,7 +36,7 @@ extern "C" {
#define NULL 0L
#undef WEOF
-#define WEOF (-1)
+#define WEOF 0xffffffffU
typedef struct __mbstate_t
{