mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +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
684152e98e
commit
c81c19c483
3 changed files with 14 additions and 3 deletions
|
@ -1015,12 +1015,15 @@ static NSLock *cached_proxies_gate = nil;
|
|||
/*
|
||||
* Make sure we are not registered.
|
||||
*/
|
||||
#ifndef __MINGW__
|
||||
if ([_receivePort isKindOfClass: [NSMessagePort class]])
|
||||
{
|
||||
[self registerName: nil
|
||||
withNameServer: [NSMessagePortNameServer sharedInstance]];
|
||||
}
|
||||
else if ([_receivePort isKindOfClass: [NSSocketPort class]])
|
||||
else
|
||||
#endif
|
||||
if ([_receivePort isKindOfClass: [NSSocketPort class]])
|
||||
{
|
||||
[self registerName: nil
|
||||
withNameServer: [NSSocketPortNameServer sharedInstance]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue