* win32/win32.c (WSABUF): get rid of compile error on VC9 and mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2e4ad56fc2
commit
681dce6bfe
@ -1,3 +1,7 @@
|
|||||||
|
Wed Jul 22 10:00:53 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* win32/win32.c (WSABUF): get rid of compile error on VC9 and mingw.
|
||||||
|
|
||||||
Wed Jul 22 02:33:57 2009 Keiju Ishitsuka <keiju@emperor2.pendome>
|
Wed Jul 22 02:33:57 2009 Keiju Ishitsuka <keiju@emperor2.pendome>
|
||||||
|
|
||||||
* lib/irb.rb: forget svn commit.
|
* lib/irb.rb: forget svn commit.
|
||||||
|
@ -2816,7 +2816,7 @@ rb_w32_sendto(int fd, const char *buf, int len, int flags,
|
|||||||
(struct sockaddr *)to, &tolen);
|
(struct sockaddr *)to, &tolen);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef WSAID_WSARECVMSG
|
#if !defined(MSG_TRUNC) && !defined(__MINGW32__)
|
||||||
typedef struct {
|
typedef struct {
|
||||||
SOCKADDR *name;
|
SOCKADDR *name;
|
||||||
int namelen;
|
int namelen;
|
||||||
@ -2825,6 +2825,8 @@ typedef struct {
|
|||||||
WSABUF Control;
|
WSABUF Control;
|
||||||
DWORD dwFlags;
|
DWORD dwFlags;
|
||||||
} WSAMSG;
|
} WSAMSG;
|
||||||
|
#endif
|
||||||
|
#ifndef WSAID_WSARECVMSG
|
||||||
#define WSAID_WSARECVMSG {0xf689d7c8,0x6f1f,0x436b,{0x8a,0x53,0xe5,0x4f,0xe3,0x51,0xc3,0x22}}
|
#define WSAID_WSARECVMSG {0xf689d7c8,0x6f1f,0x436b,{0x8a,0x53,0xe5,0x4f,0xe3,0x51,0xc3,0x22}}
|
||||||
#endif
|
#endif
|
||||||
#ifndef WSAID_WSASENDMSG
|
#ifndef WSAID_WSASENDMSG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user