mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Add default to enable mingw32 message ports
Do some debugging/fixing of mingw32 message ports. Still not usable. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21974 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c52e8be2d6
commit
4f6fee1ae5
4 changed files with 271 additions and 184 deletions
|
@ -74,8 +74,7 @@ Class NSPort_concrete_class;
|
|||
{
|
||||
NSPort_abstract_class = self;
|
||||
#ifndef __MINGW32__
|
||||
/* Must be kept in sync with [NSPortNameServer
|
||||
+systemDefaultPortNameServer]. */
|
||||
/* Must be kept in sync with [NSPortNameServer +systemDefaultPortNameServer]. */
|
||||
if (GSUserDefaultsFlag(GSMacOSXCompatible) == YES
|
||||
|| [[NSUserDefaults standardUserDefaults]
|
||||
boolForKey: @"NSPortIsMessagePort"])
|
||||
|
@ -87,6 +86,11 @@ Class NSPort_concrete_class;
|
|||
NSPort_concrete_class = [NSSocketPort class];
|
||||
}
|
||||
#else
|
||||
if ([[NSUserDefaults standardUserDefaults]
|
||||
boolForKey: @"GSMailslot"] == YES)
|
||||
NSPort_concrete_class = [NSMessagePort class];
|
||||
else
|
||||
|
||||
NSPort_concrete_class = [NSSocketPort class];
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue