aboutsummaryrefslogtreecommitdiffstats
path: root/include/wchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h
index c9d2245..755b583 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -39,6 +39,14 @@
/**
+ * End of a wide-character stream
+ */
+#ifndef WEOF
+# define WEOF -1L
+#endif
+
+
+/**
* `wchar_t` version of `strlen`.
*
* @param str The string.