* include/ruby/win32.h, win32/win32.c (EWOULDBLOCK): VC10 already
defined EWOULDBLOCK. based on a patch from Charlie Savage, see [ruby-core:29255] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
10c9ed2493
commit
54da3ecbcb
@ -1,3 +1,9 @@
|
||||
Mon Apr 5 13:20:45 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* include/ruby/win32.h, win32/win32.c (EWOULDBLOCK): VC10 already
|
||||
defined EWOULDBLOCK. based on a patch from Charlie Savage,
|
||||
see [ruby-core:29255]
|
||||
|
||||
Mon Apr 5 13:10:35 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* ext/psych/lib/psych/core_ext.rb: remove before alias.
|
||||
|
@ -401,7 +401,9 @@ extern char *rb_w32_strerror(int);
|
||||
/* #undef va_end */
|
||||
|
||||
/* winsock error map */
|
||||
#ifndef EWOULDBLOCK /* VC10 has this */
|
||||
#define EWOULDBLOCK WSAEWOULDBLOCK
|
||||
#endif
|
||||
#define EINPROGRESS WSAEINPROGRESS
|
||||
#define EALREADY WSAEALREADY
|
||||
#define ENOTSOCK WSAENOTSOCK
|
||||
|
@ -170,6 +170,7 @@ static struct {
|
||||
{ WSAEFAULT, EFAULT },
|
||||
{ WSAEINVAL, EINVAL },
|
||||
{ WSAEMFILE, EMFILE },
|
||||
{ WSAEWOULDBLOCK, EWOULDBLOCK },
|
||||
};
|
||||
|
||||
int
|
||||
|
Loading…
x
Reference in New Issue
Block a user