* 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 a5b07f975d677d1c5629bb3f237f0e3a04d87d37..1aeca4a9a0097db14ba9e591be854cd7411c3976 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 5282ed58a9122792fa7874f3820308db12b2c79e..2c9765842e451f459638776c3ebdbd59c5e75a38 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 */