mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 11:00:41 +08:00
* include/winsock2.h: Don't define struct sockaddr_storage when
building Cygwin.
This commit is contained in:
parent
c63bbc11d6
commit
cf2af34b70
@ -1,3 +1,8 @@
|
||||
2005-12-31 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* include/winsock2.h: Don't define struct sockaddr_storage when
|
||||
building Cygwin.
|
||||
|
||||
2005-12-22 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* lib/ws2_32.c: New file, defining IPv6 constants.
|
||||
|
@ -329,7 +329,6 @@ struct sockaddr {
|
||||
u_short sa_family;
|
||||
char sa_data[14];
|
||||
};
|
||||
#endif /* ! (__INSIDE_CYGWIN__ || __INSIDE_MSYS__) */
|
||||
|
||||
/* Portable IPv6/IPv4 version of sockaddr.
|
||||
Uses padding to force 8 byte alignment
|
||||
@ -340,6 +339,7 @@ struct sockaddr_storage {
|
||||
__int64 __ss_align; /* force alignment */
|
||||
char __ss_pad2[112]; /* pad to 128 */
|
||||
};
|
||||
#endif /* ! (__INSIDE_CYGWIN__ || __INSIDE_MSYS__) */
|
||||
|
||||
struct sockproto {
|
||||
u_short sp_family;
|
||||
|
Loading…
x
Reference in New Issue
Block a user