summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/unixsupport.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2001-12-03 10:51:35 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2001-12-03 10:51:35 +0000
commitb2247c3fc680cfad82ecb1078c67049c9dfd3f88 (patch)
treeb89f3d60ef18ecd93df1c329583347a4458f5e0e /otherlibs/win32unix/unixsupport.c
parent5cc97f25b41fec5e0bd97fe45edff91562d68b66 (diff)
#ifdef autour de codes specifiques Winsock2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4076 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/unixsupport.c')
-rw-r--r--otherlibs/win32unix/unixsupport.c4
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 }
};