Bug #3092 ยป win32_io.patch
| 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
|
||