mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05: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
|
@ -1,3 +1,8 @@
|
|||
Thu Apr 8 14:23:51 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* include/ruby/win32.h: include errno.h before defining errnos.
|
||||
see [ruby-core:29314]
|
||||
|
||||
Thu Apr 8 11:45:14 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/yaml.rb: use Psych if only it is loaded already.
|
||||
|
|
|
@ -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
Reference in a new issue