summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/unixsupport.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/win32unix/unixsupport.c')
-rw-r--r--otherlibs/win32unix/unixsupport.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/otherlibs/win32unix/unixsupport.c b/otherlibs/win32unix/unixsupport.c
index ac2180f31..ca7fe2147 100644
--- a/otherlibs/win32unix/unixsupport.c
+++ b/otherlibs/win32unix/unixsupport.c
@@ -111,6 +111,15 @@ static struct error_entry win_error_table[] = {
ERROR_SHARING_BUFFER_EXCEEDED - ERROR_WRITE_PROTECT,
EACCES },
{ WSAEINVAL, 0, EINVAL },
+ { WSAEACCES, 0, EACCES },
+ { WSAEBADF, 0, EBADF },
+ { WSAEFAULT, 0, EFAULT },
+ { WSAEINTR, 0, EINTR },
+ { WSAEINVAL, 0, EINVAL },
+ { WSAEMFILE, 0, EMFILE },
+ { WSANAMETOOLONG, 0, ENAMETOOLONG },
+ { WSAENFILE, 0, ENFILE },
+ { WSAENOTEMPTY, 0, ENOTEMPTY },
{ 0, -1, 0 }
};