summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/unixsupport.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2002-03-06 16:55:20 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2002-03-06 16:55:20 +0000
commit29f80bf5d5ed951e088a1c00847ea7038e15f038 (patch)
tree1cab0ba03c3f6ed38bbfd2d91791da0ff32f722d /otherlibs/win32unix/unixsupport.c
parente5ba68d5564052bc1f09c5654b994fa0d4b79792 (diff)
Ajout primitives LargeFile
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4486 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/unixsupport.c')
-rw-r--r--otherlibs/win32unix/unixsupport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/otherlibs/win32unix/unixsupport.c b/otherlibs/win32unix/unixsupport.c
index f4e6e2867..9f3ae3189 100644
--- a/otherlibs/win32unix/unixsupport.c
+++ b/otherlibs/win32unix/unixsupport.c
@@ -182,6 +182,7 @@ void win32_maperr(unsigned long errcode)
#define ESTALE -WSAESTALE
#define EREMOTE -WSAEREMOTE
+#define EOVERFLOW -ERROR_ARITHMETIC_OVERFLOW
#define EACCESS EACCES
int error_table[] = {
@@ -195,7 +196,7 @@ int error_table[] = {
EAFNOSUPPORT, EADDRINUSE, EADDRNOTAVAIL, ENETDOWN, ENETUNREACH,
ENETRESET, ECONNABORTED, ECONNRESET, ENOBUFS, EISCONN, ENOTCONN,
ESHUTDOWN, ETOOMANYREFS, ETIMEDOUT, ECONNREFUSED, EHOSTDOWN,
- EHOSTUNREACH, ELOOP /*, EUNKNOWNERR */
+ EHOSTUNREACH, ELOOP, EOVERFLOW /*, EUNKNOWNERR */
};
static value * unix_error_exn = NULL;