mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
mingw tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21130 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ca34553f99
commit
979de3e8ba
3 changed files with 14 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-04-20 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSConnection.m:
|
||||||
|
* Source/NSDistributedNotificationCenter.m:
|
||||||
|
mingw tweaks
|
||||||
|
|
||||||
2005-04-19 Adam Fedor <fedor@gnu.org>
|
2005-04-19 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* Tools/gdomap.c (init_iface): Round size to make sure we don't violate
|
* Tools/gdomap.c (init_iface): Round size to make sure we don't violate
|
||||||
|
|
|
@ -1015,12 +1015,15 @@ static NSLock *cached_proxies_gate = nil;
|
||||||
/*
|
/*
|
||||||
* Make sure we are not registered.
|
* Make sure we are not registered.
|
||||||
*/
|
*/
|
||||||
|
#ifndef __MINGW__
|
||||||
if ([_receivePort isKindOfClass: [NSMessagePort class]])
|
if ([_receivePort isKindOfClass: [NSMessagePort class]])
|
||||||
{
|
{
|
||||||
[self registerName: nil
|
[self registerName: nil
|
||||||
withNameServer: [NSMessagePortNameServer sharedInstance]];
|
withNameServer: [NSMessagePortNameServer sharedInstance]];
|
||||||
}
|
}
|
||||||
else if ([_receivePort isKindOfClass: [NSSocketPort class]])
|
else
|
||||||
|
#endif
|
||||||
|
if ([_receivePort isKindOfClass: [NSSocketPort class]])
|
||||||
{
|
{
|
||||||
[self registerName: nil
|
[self registerName: nil
|
||||||
withNameServer: [NSSocketPortNameServer sharedInstance]];
|
withNameServer: [NSSocketPortNameServer sharedInstance]];
|
||||||
|
|
|
@ -589,7 +589,7 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
||||||
{
|
{
|
||||||
ASSIGN(_type, GSPublicNotificationCenterType);
|
ASSIGN(_type, GSPublicNotificationCenterType);
|
||||||
}
|
}
|
||||||
#endif
|
#else
|
||||||
if (_type == NSLocalNotificationCenterType)
|
if (_type == NSLocalNotificationCenterType)
|
||||||
{
|
{
|
||||||
host = @"";
|
host = @"";
|
||||||
|
@ -597,7 +597,9 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
||||||
service = GDNC_SERVICE;
|
service = GDNC_SERVICE;
|
||||||
description = @"local host";
|
description = @"local host";
|
||||||
}
|
}
|
||||||
else if (_type == GSPublicNotificationCenterType)
|
else
|
||||||
|
#endif
|
||||||
|
if (_type == GSPublicNotificationCenterType)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Connect to the NSDistributedNotificationCenter for this host.
|
* Connect to the NSDistributedNotificationCenter for this host.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue