mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 17:41:05 +00:00
* Source/NSMessagePort.m: For older OS comptibility, define some
macros if they are not already defined. * Source/NSMessagePortNameServer.m: Idem. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17559 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fda10c748a
commit
765f5f84f8
4 changed files with 26 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2003-08-26 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSMessagePort.m: For older OS comptibility, define some
|
||||||
|
macros if they are not already defined.
|
||||||
|
* Source/NSMessagePortNameServer.m: Idem.
|
||||||
|
|
||||||
2003-08-24 David Ayers <d.ayers@inode.at>
|
2003-08-24 David Ayers <d.ayers@inode.at>
|
||||||
|
|
||||||
* Headers/Additions/GNUstepBase/GSObjCRuntime.h
|
* Headers/Additions/GNUstepBase/GSObjCRuntime.h
|
||||||
|
|
|
@ -100,6 +100,15 @@
|
||||||
#define close closesocket
|
#define close closesocket
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Older systems (Solaris) compatibility */
|
||||||
|
#ifndef AF_LOCAL
|
||||||
|
#define AF_LOCAL AF_UNIX
|
||||||
|
#define PF_LOCAL PF_UNIX
|
||||||
|
#endif
|
||||||
|
#ifndef SUN_LEN
|
||||||
|
#define SUN_LEN(su) \
|
||||||
|
(sizeof(*(su)) - sizeof((su)->sun_path) + strlen((su)->sun_path))
|
||||||
|
#endif
|
||||||
|
|
||||||
static BOOL multi_threaded = NO;
|
static BOOL multi_threaded = NO;
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,16 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
|
||||||
|
/* Older systems (Solaris) compatibility */
|
||||||
|
#ifndef AF_LOCAL
|
||||||
|
#define AF_LOCAL AF_UNIX
|
||||||
|
#define PF_LOCAL PF_UNIX
|
||||||
|
#endif
|
||||||
|
#ifndef SUN_LEN
|
||||||
|
#define SUN_LEN(su) \
|
||||||
|
(sizeof(*(su)) - sizeof((su)->sun_path) + strlen((su)->sun_path))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
static NSRecursiveLock *serverLock = nil;
|
static NSRecursiveLock *serverLock = nil;
|
||||||
static NSMessagePortNameServer *defaultServer = nil;
|
static NSMessagePortNameServer *defaultServer = nil;
|
||||||
|
|
|
@ -3,7 +3,7 @@ Source: ftp://ftp.gnustep.org/pub/gnustep/core/%{gs_name}-%{gs_version}.tar.gz
|
||||||
Copyright: LGPL
|
Copyright: LGPL
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: GNUstep Base library package
|
Summary: GNUstep Base library package
|
||||||
Packager: Adam Fedor <fedor@gnu.org>
|
Packager: GNUstep Development <bug-gnustep@gnu.org>
|
||||||
Vendor: The GNUstep Project
|
Vendor: The GNUstep Project
|
||||||
URL: http://www.gnustep.org/
|
URL: http://www.gnustep.org/
|
||||||
Requires: gnustep-make >= 1.7.0
|
Requires: gnustep-make >= 1.7.0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue