* include/winsock2.h: Protect one *more* newlib defines when compiling cygwin.

This commit is contained in:
Christopher Faylor 2001-04-24 20:20:01 +00:00
parent 96d16d1c11
commit f669342ed7
2 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,12 @@
Tue Apr 24 16:18:42 2001 Christopher Faylor <cgf@cygnus.com>
* include/winsock2.h: Protect one *more* newlib defines when compiling
cygwin.
Mon Apr 23 23:41:36 2001 Christopher Faylor <cgf@cygnus.com> Mon Apr 23 23:41:36 2001 Christopher Faylor <cgf@cygnus.com>
* include/winsock2.h: Protect some more newlib defines when compiling * include/winsock2.h: Protect some more newlib defines when compiling
cygwin cygwin.
Mon Apr 23 13:17:32 2001 Christopher Faylor <cgf@cygnus.com> Mon Apr 23 13:17:32 2001 Christopher Faylor <cgf@cygnus.com>

View File

@ -348,8 +348,8 @@ struct sockproto {
#define PF_INET6 AF_INET6 #define PF_INET6 AF_INET6
#define PF_MAX AF_MAX #define PF_MAX AF_MAX
#define SOL_SOCKET 0xffff #define SOL_SOCKET 0xffff
#define SOMAXCONN 0x7fffffff /* (5) in WinSock1.1 */
#ifndef __INSIDE_CYGWIN__ #ifndef __INSIDE_CYGWIN__
#define SOMAXCONN 0x7fffffff /* (5) in WinSock1.1 */
#define MSG_OOB 1 #define MSG_OOB 1
#define MSG_PEEK 2 #define MSG_PEEK 2
#define MSG_DONTROUTE 4 #define MSG_DONTROUTE 4