* include/sys/socket.h: Move SHUT_xx definitoins from here...

* include/cygwin/socket.h: ...to here.
This commit is contained in:
Corinna Vinschen
2013-05-31 18:08:25 +00:00
parent 697ce3c45f
commit cd9ca871b0
3 changed files with 14 additions and 9 deletions

View File

@ -1,7 +1,7 @@
/* cygwin/socket.h
Copyright 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2009, 2010, 2012
Red Hat, Inc.
Copyright 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2009, 2010, 2012,
2013 Red Hat, Inc.
This file is part of Cygwin.
@ -302,6 +302,11 @@ struct OLD_msghdr
#define TCP_MAXSEG 2
#endif
/* SUS symbolic values for the second parm to shutdown(2) */
#define SHUT_RD 0 /* == Win32 SD_RECEIVE */
#define SHUT_WR 1 /* == Win32 SD_SEND */
#define SHUT_RDWR 2 /* == Win32 SD_BOTH */
/* The various priorities. */
#define SOPRI_INTERACTIVE 0
#define SOPRI_NORMAL 1