summaryrefslogtreecommitdiffstats
path: root/include/uv/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uv/errno.h')
-rw-r--r--include/uv/errno.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uv/errno.h b/include/uv/errno.h
index 8eeb95d..165fd11 100644
--- a/include/uv/errno.h
+++ b/include/uv/errno.h
@@ -439,5 +439,10 @@
# define UV__EFTYPE (-4028)
#endif
+#if defined(EILSEQ) && !defined(_WIN32)
+# define UV__EILSEQ UV__ERR(EILSEQ)
+#else
+# define UV__EILSEQ (-4027)
+#endif
#endif /* UV_ERRNO_H_ */