mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Fix to compile under windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19876 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
885883dcbe
commit
83d6c451f2
3 changed files with 16 additions and 1 deletions
|
@ -60,10 +60,13 @@
|
|||
* dealing with NSMessagePort objects, but that is incompatible
|
||||
* with OpenStep/OPENSTEP/NeXTstep behavior, so GNUstep returns
|
||||
* a name server which deals with NSSocketPort objects capable
|
||||
* of being used for inter-host communications.
|
||||
* of being used for inter-host communications... unless it
|
||||
* is running in compatibility mode.<br />
|
||||
* This may change in future releases.
|
||||
*/
|
||||
+ (id) systemDefaultPortNameServer
|
||||
{
|
||||
#ifndef __MINGW__
|
||||
/* Must be kept in sync with [NSPort +initialize]. */
|
||||
if (GSUserDefaultsFlag(GSMacOSXCompatible) == YES
|
||||
|| [[NSUserDefaults standardUserDefaults]
|
||||
|
@ -75,6 +78,9 @@
|
|||
{
|
||||
return [NSSocketPortNameServer sharedInstance];
|
||||
}
|
||||
#else
|
||||
return [NSSocketPortNameServer sharedInstance];
|
||||
#endif
|
||||
}
|
||||
|
||||
- (void) dealloc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue