mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-10 16:20:42 +00:00
Temprary fix for older compilers ... avoid setting protocol for proxy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17101 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
03086200c9
commit
c056845ac4
3 changed files with 10 additions and 3 deletions
|
@ -832,7 +832,6 @@ enum
|
|||
else
|
||||
{
|
||||
id m;
|
||||
const char *types;
|
||||
#ifdef USE_FFCALL
|
||||
id inv;
|
||||
id sig;
|
||||
|
@ -854,8 +853,13 @@ enum
|
|||
retframe = [self forward: _cmd : args];
|
||||
m = retframe_id(retframe);
|
||||
#endif
|
||||
types = [m methodType];
|
||||
return [NSMethodSignature signatureWithObjCTypes: types];
|
||||
if ([m isProxy] == YES)
|
||||
{
|
||||
const char *types = [m methodType];
|
||||
|
||||
m = [NSMethodSignature signatureWithObjCTypes: types];
|
||||
}
|
||||
return m;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -575,9 +575,11 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
if (_remote != nil)
|
||||
{
|
||||
NSConnection *c = [_remote connectionForProxy];
|
||||
#if 0 // When all compilers support this
|
||||
Protocol *p = @protocol(GDNCProtocol);
|
||||
|
||||
[_remote setProtocolForProxy: p];
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Ensure that this center can be used safely from different
|
||||
|
|
|
@ -864,6 +864,7 @@ main(int argc, char** argv, char** env)
|
|||
#ifdef GS_PASS_ARGUMENTS
|
||||
[NSProcessInfo initializeWithArguments:argv count:argc environment:env];
|
||||
#endif
|
||||
[NSObject enableDoubleReleaseCheck: YES];
|
||||
if (argc > 1 && strcmp(argv[argc-1], "-f") == 0)
|
||||
{
|
||||
shouldFork = NO;
|
||||
|
|
Loading…
Reference in a new issue