mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 01:21:08 +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
edcb35b59e
commit
82b2424b9a
1 changed files with 5 additions and 1 deletions
|
@ -33,6 +33,9 @@
|
||||||
#import <pthread.h>
|
#import <pthread.h>
|
||||||
#import "cifframe.h"
|
#import "cifframe.h"
|
||||||
#import "GSPrivate.h"
|
#import "GSPrivate.h"
|
||||||
|
#ifdef __GNUSTEP_RUNTIME__
|
||||||
|
#include <objc/hooks.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef INLINE
|
#ifndef INLINE
|
||||||
#define INLINE inline
|
#define INLINE inline
|
||||||
|
@ -301,7 +304,8 @@ static id gs_objc_proxy_lookup(id receiver, SEL op)
|
||||||
{
|
{
|
||||||
#ifdef __GNUSTEP_RUNTIME__
|
#ifdef __GNUSTEP_RUNTIME__
|
||||||
pthread_key_create(&thread_slot_key, free);
|
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;
|
objc_proxy_lookup = gs_objc_proxy_lookup;
|
||||||
#else
|
#else
|
||||||
#if HAVE_FORWARD2
|
#if HAVE_FORWARD2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue