mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
fix includes for gcc-4.6
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33069 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3a6600013a
commit
79383c613d
13 changed files with 72 additions and 13 deletions
|
@ -71,7 +71,6 @@ extern struct objc_slot *objc_get_slot(Class, SEL);
|
|||
#define BDBGPrintf(format, args...) \
|
||||
do { if (behavior_debug) { fprintf(stderr, (format) , ## args); } } while (0)
|
||||
|
||||
|
||||
Class
|
||||
GSObjCClass(id obj)
|
||||
{
|
||||
|
@ -163,6 +162,11 @@ GSSelectorFromNameAndTypes(const char *name, const char *types)
|
|||
#elif defined (__GNUSTEP_RUNTIME__)
|
||||
return sel_registerTypedName_np(name, types);
|
||||
#else
|
||||
extern SEL sel_get_any_typed_uid(const char*);
|
||||
extern SEL sel_get_typed_uid(const char*, const char*);
|
||||
extern SEL sel_register_name(const char*);
|
||||
extern SEL sel_register_typed_name(const char*, const char*);
|
||||
|
||||
if (name == 0)
|
||||
{
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue