mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix base build with libobjc2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30988 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
feb6ee5d2b
commit
ed30e20c20
1 changed files with 5 additions and 1 deletions
|
@ -33,6 +33,9 @@
|
|||
#import <pthread.h>
|
||||
#import "cifframe.h"
|
||||
#import "GSPrivate.h"
|
||||
#ifdef __GNUSTEP_RUNTIME__
|
||||
#include <objc/hooks.h>
|
||||
#endif
|
||||
|
||||
#ifndef INLINE
|
||||
#define INLINE inline
|
||||
|
@ -301,7 +304,8 @@ static id gs_objc_proxy_lookup(id receiver, SEL op)
|
|||
{
|
||||
#ifdef __GNUSTEP_RUNTIME__
|
||||
pthread_key_create(&thread_slot_key, free);
|
||||
objc_msg_forward3 = gs_objc_msg_forward3;
|
||||
__objc_msg_forward3 = gs_objc_msg_forward3;
|
||||
__objc_msg_forward2 = gs_objc_msg_forward2;
|
||||
objc_proxy_lookup = gs_objc_proxy_lookup;
|
||||
#else
|
||||
#if HAVE_FORWARD2
|
||||
|
|
Loading…
Reference in a new issue