diff options
Diffstat (limited to 'otherlibs/win32unix')
-rw-r--r-- | otherlibs/win32unix/unixsupport.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/otherlibs/win32unix/unixsupport.c b/otherlibs/win32unix/unixsupport.c index ca7fe2147..c2e070232 100644 --- a/otherlibs/win32unix/unixsupport.c +++ b/otherlibs/win32unix/unixsupport.c @@ -117,8 +117,12 @@ static struct error_entry win_error_table[] = { { WSAEINTR, 0, EINTR }, { WSAEINVAL, 0, EINVAL }, { WSAEMFILE, 0, EMFILE }, +#ifdef WSANAMETOOLONG { WSANAMETOOLONG, 0, ENAMETOOLONG }, +#endif +#ifdef WSAENFILE { WSAENFILE, 0, ENFILE }, +#endif { WSAENOTEMPTY, 0, ENOTEMPTY }, { 0, -1, 0 } }; |