diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-05 04:26:33 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-05 04:26:33 +0000 |
commit | 54da3ecbcbfd6cda2451da9aceafb3ef72a1c70e (patch) | |
tree | e98b7c8b5a90c69e850cb290daa6ad8c87a71635 /win32 | |
parent | 10c9ed249320165a4a8ec2f70cade2f1c90f2bcd (diff) | |
download | ruby-54da3ecbcbfd6cda2451da9aceafb3ef72a1c70e.tar.gz |
* 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
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 42fbdb591b..020eb6bab8 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -161,7 +161,7 @@ static struct { { ERROR_PIPE_NOT_CONNECTED, EPIPE }, { ERROR_OPERATION_ABORTED, EINTR }, { ERROR_NOT_ENOUGH_QUOTA, ENOMEM }, - { ERROR_MOD_NOT_FOUND, ENOENT }, + { ERROR_MOD_NOT_FOUND, ENOENT }, { WSAENAMETOOLONG, ENAMETOOLONG }, { WSAENOTEMPTY, ENOTEMPTY }, { WSAEINTR, EINTR }, @@ -170,6 +170,7 @@ static struct { { WSAEFAULT, EFAULT }, { WSAEINVAL, EINVAL }, { WSAEMFILE, EMFILE }, + { WSAEWOULDBLOCK, EWOULDBLOCK }, }; int |