Darwin link/compile fixes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12911 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2002-03-01 04:13:27 +00:00
parent b23ea1e45d
commit 7f17be9de5
4 changed files with 13 additions and 3 deletions

View file

@ -1,3 +1,12 @@
2002-02-28 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/base/objc-gnu2next.h: Add objc-runtime.h
* Source/Makefile.preamble: Add ..DEPEND_UPON for all darwin versions.
* Source/NSPortCoder.m
(-initWithReceivePort:sendPort:components:): Change cast to make
MacOSX compiler happy.
2002-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUser.m: rewrite user and defaults root code to standardise

View file

@ -29,6 +29,7 @@
#if NeXT_RUNTIME
#include <objc/objc-class.h>
#include <objc/objc-runtime.h>
#include <stddef.h>
#include <ctype.h>
#include <stdio.h>

View file

@ -63,7 +63,7 @@ endif
ifeq ($(GNUSTEP_TARGET_OS),cygwin)
libgnustep-base_LIBRARIES_DEPEND_UPON += -lobjc
endif
ifeq ($(findstring darwin1, $(GNUSTEP_TARGET_OS)), darwin1)
ifeq ($(findstring darwin, $(GNUSTEP_TARGET_OS)), darwin)
libgnustep-base_LIBRARIES_DEPEND_UPON += $(CONFIG_SYSTEM_LIBS) \
-flat_namespace
endif

View file

@ -1807,8 +1807,8 @@ static IMP _xRefImp; /* Serialize a crossref. */
GSIArrayRemoveAllItems(_objAry);
GSIArrayRemoveAllItems(_ptrAry);
}
GSIArrayAddItem(_clsAry, (GSIArrayItem)nil);
GSIArrayAddItem(_objAry, (GSIArrayItem)nil);
GSIArrayAddItem(_clsAry, (GSIArrayItem)(void*)0);
GSIArrayAddItem(_objAry, (GSIArrayItem)(void*)0);
GSIArrayAddItem(_ptrAry, (GSIArrayItem)(void*)0);
}
NS_HANDLER