* socket_.h (SHUT_WR, SHUT_RDWR): Don't hardcode, suggested by Bruno.
authorSimon Josefsson <simon@josefsson.org>
Tue, 24 Jan 2006 11:57:26 +0000 (11:57 +0000)
committerSimon Josefsson <simon@josefsson.org>
Tue, 24 Jan 2006 11:57:26 +0000 (11:57 +0000)
lib/ChangeLog
lib/socket_.h

index a5b07f9..1aeca4a 100644 (file)
@@ -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
index 5282ed5..2c97658 100644 (file)
 # 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 */