Updated code to compile with GCC 4.6 and the new GNU Objective-C runtime

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31765 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2010-12-23 02:23:05 +00:00
parent 49e56309be
commit 30f098f9f8
19 changed files with 227 additions and 78 deletions

View file

@ -1991,7 +1991,11 @@ static NSLock *cached_proxies_gate = nil;
type = [[object methodSignatureForSelector: [inv selector]] methodType];
if (type)
{
#ifdef __GNU_LIBOBJC__
sel_registerTypedName(sel_getName([inv selector]), type);
#else
sel_registerTypedName_np(sel_getName([inv selector]), type);
#endif
}
}
NSParameterAssert(type);