if socklen_t is not defined, assume uint32_t

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23451 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-09-10 16:07:08 +00:00
parent 3f65c97d1a
commit a6f6a41a07
2 changed files with 5 additions and 0 deletions

View file

@ -9,6 +9,7 @@
Protect -release with lock and remove object from global table within
protected region, to avoid possible double deallocation in a
multithreaded process.
* Source/unix/NSStream.m: If socklen_t is not defined, assume uint32_t
2006-09-09 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -50,6 +50,10 @@
#define PF_LOCAL PF_UNIX
#endif
#ifndef socklen_t
#define socklen_t uint32_t
#endif
/**
* The concrete subclass of NSInputStream that reads from a file
*/