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

@ -1160,11 +1160,15 @@ failure:
if (lt)
{
#ifdef __GNU_LIBOBJC__
sel = sel_registerTypedName(name, types);
#else
sel = sel_registerTypedName_np(name, types);
#endif
}
else
{
sel = sel_registerTypedName_np(name, 0);
sel = sel_registerName(name);
}
if (sel == 0)
{
@ -2803,7 +2807,11 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
if (lt)
{
#ifdef __GNU_LIBOBJC__
sel = sel_registerTypedName(name, types);
#else
sel = sel_registerTypedName_np(name, types);
#endif
}
else
{