diff options
Diffstat (limited to 'otherlibs/unix/unixsupport_win32.c')
-rw-r--r-- | otherlibs/unix/unixsupport_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/unixsupport_win32.c b/otherlibs/unix/unixsupport_win32.c index cb5eb35df7..509afa3ea3 100644 --- a/otherlibs/unix/unixsupport_win32.c +++ b/otherlibs/unix/unixsupport_win32.c @@ -251,7 +251,7 @@ void caml_win32_maperr(DWORD errcode) #undef EACCESS #define EACCESS EACCES -static int error_table[] = { +static const int error_table[] = { E2BIG, EACCESS, EAGAIN, EBADF, EBUSY, ECHILD, EDEADLK, EDOM, EEXIST, EFAULT, EFBIG, EINTR, EINVAL, EIO, EISDIR, EMFILE, EMLINK, ENAMETOOLONG, ENFILE, ENODEV, ENOENT, ENOEXEC, ENOLCK, ENOMEM, ENOSPC, |