mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
fix for #24564
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26916 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
da5b051cd2
commit
8c6ed1c004
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2008-10-14 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSSocketStream.m: Fix for #24564
|
||||
|
||||
2008-10-12 Larry Campbelln
|
||||
|
||||
* Source/NSDate.m: Add keyed archiving support.
|
||||
|
|
|
@ -40,6 +40,18 @@
|
|||
#import "GSStream.h"
|
||||
#import "GSSocketStream.h"
|
||||
|
||||
#ifndef SHUT_RD
|
||||
# ifdef SD_RECEIVE
|
||||
# define SHUT_RD SD_RECEIVE
|
||||
# define SHUT_WR SD_SEND
|
||||
# define SHUT_RDWR SD_BOTH
|
||||
# else
|
||||
# define SHUT_RD 0
|
||||
# define SHUT_WR 1
|
||||
# define SHUT_RDWR 2
|
||||
# endif
|
||||
#endif
|
||||
|
||||
unsigned
|
||||
GSPrivateSockaddrLength(struct sockaddr *addr)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue