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:
rfm 2010-02-19 15:30:27 +00:00
parent 2663321b83
commit 901b7b6975
2 changed files with 10 additions and 5 deletions

View file

@ -280,9 +280,14 @@ NSZone.m \
externs.m \
objc-load.m
ifeq ($(HAVE_OBJC_SYNC_ENTER), no)
GNU_MFILES += synchronization.m
endif
# Not sure that the following is ever needed ...
# we should have synchronisation support from the ObjC2 runtime or
# 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)
BASE_MFILES += \

View file

@ -10,7 +10,7 @@
#include <stdlib.h>
@interface Fake
+ (void)dealloc;
+ (void) dealloc;
@end
static pthread_mutex_t at_sync_init_lock = PTHREAD_MUTEX_INITIALIZER;
@ -34,7 +34,7 @@ findLockClass(id obj)
object.isa = class_getSuperclass(object.isa);
} while (Nil != object.isa
&& objc_msg_lookup((id)&object, dealloc) != (IMP)deallocLockClass);
}
}
if (Nil == object.isa)
{
return Nil;