From b2247c3fc680cfad82ecb1078c67049c9dfd3f88 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Mon, 3 Dec 2001 10:51:35 +0000 Subject: #ifdef autour de codes specifiques Winsock2 git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4076 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/win32unix/unixsupport.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'otherlibs/win32unix/unixsupport.c') 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 } }; -- cgit v1.2.3-70-g09d2