summaryrefslogtreecommitdiffstats
path: root/include/uv/errno.h
diff options
context:
space:
mode:
authorlibuv upstream <libuv@googlegroups.com>2020-04-06 13:22:24 (GMT)
committerBrad King <brad.king@kitware.com>2020-04-06 15:49:07 (GMT)
commit394b07af40e1bdbdca0033e53ca803585454da18 (patch)
tree619fd071cfd23622daa4958ddafd18d33b1c1b88 /include/uv/errno.h
parentb4069b04ff63b327ff4881282200c3c73fded34d (diff)
downloadCMake-394b07af40e1bdbdca0033e53ca803585454da18.zip
CMake-394b07af40e1bdbdca0033e53ca803585454da18.tar.gz
CMake-394b07af40e1bdbdca0033e53ca803585454da18.tar.bz2
libuv 2020-04-06 (d21f5aea)
Code extracted from: https://github.com/libuv/libuv.git at commit d21f5aeab0a4b6193f13640471cde405579f9c69 (v1.x).
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_ */