mingw tweaks

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21131 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-04-20 07:38:36 +00:00
parent c81c19c483
commit 631e2cf4df
2 changed files with 3 additions and 0 deletions

View file

@ -2,6 +2,7 @@
* Source/NSConnection.m:
* Source/NSDistributedNotificationCenter.m:
* Tools/gdnc.m:
mingw tweaks
2005-04-19 Adam Fedor <fedor@gnu.org>

View file

@ -425,6 +425,7 @@ ihandler(int sig)
port = (NSPort*)[NSSocketPort port];
}
}
#ifndef __MINGW__
else
{
hostname = @"";
@ -432,6 +433,7 @@ ihandler(int sig)
ns = [NSMessagePortNameServer sharedInstance];
port = (NSPort*)[NSMessagePort port];
}
#endif
conn = [[NSConnection alloc] initWithReceivePort: port sendPort: nil];
[conn setRootObject: self];