From: Simon Josefsson Date: Tue, 24 Jan 2006 11:57:26 +0000 (+0000) Subject: * socket_.h (SHUT_WR, SHUT_RDWR): Don't hardcode, suggested by Bruno. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aeae903cb8f51f7589fa2937b775aaa4f66305e4;p=pspp * socket_.h (SHUT_WR, SHUT_RDWR): Don't hardcode, suggested by Bruno. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index a5b07f975d..1aeca4a9a0 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2006-01-24 Simon Josefsson + + * socket_.h (SHUT_WR, SHUT_RDWR): Don't hardcode, suggested by + Bruno. + 2006-01-23 Paul Eggert Work around porting bugs reported by Dieter in diff --git a/lib/socket_.h b/lib/socket_.h index 5282ed58a9..2c9765842e 100644 --- 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 */