mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 01:23:57 +02:00
* include/ruby/win32.h: include errno.h before defining errnos.
see [ruby-core:29314] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
23d104a161
commit
3b86c8c4ae
2 changed files with 7 additions and 0 deletions
|
@ -401,6 +401,8 @@ extern char *rb_w32_strerror(int);
|
|||
/* #undef va_end */
|
||||
|
||||
/* winsock error map */
|
||||
#include <errno.h>
|
||||
|
||||
#ifndef EWOULDBLOCK
|
||||
# define EWOULDBLOCK WSAEWOULDBLOCK
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue