mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
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:
parent
49e56309be
commit
30f098f9f8
19 changed files with 227 additions and 78 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue