Mercurial > hg > octave-lyh > gnulib-hg
changeset 6588:fbe98790fd68
* socket_.h (SHUT_WR, SHUT_RDWR): Don't hardcode, suggested by Bruno.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Tue, 24 Jan 2006 11:57:26 +0000 |
parents | 453776fca04b |
children | 60dfc5a7a541 |
files | lib/ChangeLog lib/socket_.h |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2006-01-24 Simon Josefsson <jas@extundo.com> + + * socket_.h (SHUT_WR, SHUT_RDWR): Don't hardcode, suggested by + Bruno. + 2006-01-23 Paul Eggert <eggert@cs.ucla.edu> Work around porting bugs reported by Dieter in
--- a/lib/socket_.h +++ b/lib/socket_.h @@ -39,10 +39,10 @@ # define SHUT_RD SD_RECEIVE #endif #if !defined(SHUT_WR) && defined (SD_SEND) -# define SHUT_WR 1 +# define SHUT_WR SD_SEND #endif #if !defined(SHUT_RDWR) && defined (SD_BOTH) -# define SHUT_RDWR 2 +# define SHUT_RDWR SD_BOTH #endif #endif /* _SYS_SOCKET_H */