* 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:
usa 2010-04-05 04:26:33 +00:00
parent 10c9ed2493
commit 54da3ecbcb
3 changed files with 10 additions and 1 deletions

View file

@ -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