Project

General

Profile

Bug #3092 ยป win32_io.patch

cfis (Charlie Savage), 04/05/2010 12:20 PM

View differences:

include/ruby/win32.h (working copy)
/* #undef va_end */
/* winsock error map */
#define EWOULDBLOCK WSAEWOULDBLOCK
/* EWOULDBLOCK is defined as 140 in errno.h
#define EWOULDBLOCK WSAEWOULDBLOCK */
#define EINPROGRESS WSAEINPROGRESS
#define EALREADY WSAEALREADY
#define ENOTSOCK WSAENOTSOCK
win32/win32.c (working copy)
{ WSAEFAULT, EFAULT },
{ WSAEINVAL, EINVAL },
{ WSAEMFILE, EMFILE },
{ WSAEWOULDBLOCK, EWOULDBLOCK },
};
int
    (1-1/1)