mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 02:01:03 +00:00
Don't build synchronisation.m ... I don't think we need it any more.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29673 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2663321b83
commit
901b7b6975
2 changed files with 10 additions and 5 deletions
|
@ -280,9 +280,14 @@ NSZone.m \
|
||||||
externs.m \
|
externs.m \
|
||||||
objc-load.m
|
objc-load.m
|
||||||
|
|
||||||
ifeq ($(HAVE_OBJC_SYNC_ENTER), no)
|
# Not sure that the following is ever needed ...
|
||||||
GNU_MFILES += synchronization.m
|
# we should have synchronisation support from the ObjC2 runtime or
|
||||||
endif
|
# we should have synchronisation support from the ObjC2 compatibility code or
|
||||||
|
# we are without native exception and @synchronize support anyway.
|
||||||
|
#
|
||||||
|
#ifeq ($(HAVE_OBJC_SYNC_ENTER), no)
|
||||||
|
# GNU_MFILES += synchronization.m
|
||||||
|
#endif
|
||||||
|
|
||||||
ifneq ($(GNUSTEP_TARGET_OS), mingw32)
|
ifneq ($(GNUSTEP_TARGET_OS), mingw32)
|
||||||
BASE_MFILES += \
|
BASE_MFILES += \
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
@interface Fake
|
@interface Fake
|
||||||
+ (void)dealloc;
|
+ (void) dealloc;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
static pthread_mutex_t at_sync_init_lock = PTHREAD_MUTEX_INITIALIZER;
|
static pthread_mutex_t at_sync_init_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||||
|
@ -34,7 +34,7 @@ findLockClass(id obj)
|
||||||
object.isa = class_getSuperclass(object.isa);
|
object.isa = class_getSuperclass(object.isa);
|
||||||
} while (Nil != object.isa
|
} while (Nil != object.isa
|
||||||
&& objc_msg_lookup((id)&object, dealloc) != (IMP)deallocLockClass);
|
&& objc_msg_lookup((id)&object, dealloc) != (IMP)deallocLockClass);
|
||||||
}
|
}
|
||||||
if (Nil == object.isa)
|
if (Nil == object.isa)
|
||||||
{
|
{
|
||||||
return Nil;
|
return Nil;
|
||||||
|
|
Loading…
Reference in a new issue