summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/unixsupport.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2001-11-27 14:05:29 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2001-11-27 14:05:29 +0000
commit75109df73df434e53a53adcac2895082649e3f5e (patch)
treed66d59f11bc4a0965954e45ff76af6be8a385e72 /otherlibs/win32unix/unixsupport.c
parent46090537e88972ea1f5feb02db5b9ce451b0ae58 (diff)
Mapper WSAEINVAL sur EINVAL
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4054 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/unixsupport.c')
-rw-r--r--otherlibs/win32unix/unixsupport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/otherlibs/win32unix/unixsupport.c b/otherlibs/win32unix/unixsupport.c
index ddd5e8526..ac2180f31 100644
--- a/otherlibs/win32unix/unixsupport.c
+++ b/otherlibs/win32unix/unixsupport.c
@@ -110,6 +110,7 @@ static struct error_entry win_error_table[] = {
{ ERROR_WRITE_PROTECT,
ERROR_SHARING_BUFFER_EXCEEDED - ERROR_WRITE_PROTECT,
EACCES },
+ { WSAEINVAL, 0, EINVAL },
{ 0, -1, 0 }
};