mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
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:
parent
e469947f56
commit
ddf7690398
4 changed files with 13 additions and 3 deletions
|
@ -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>
|
2002-02-28 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/NSUser.m: rewrite user and defaults root code to standardise
|
* Source/NSUser.m: rewrite user and defaults root code to standardise
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#if NeXT_RUNTIME
|
#if NeXT_RUNTIME
|
||||||
|
|
||||||
#include <objc/objc-class.h>
|
#include <objc/objc-class.h>
|
||||||
|
#include <objc/objc-runtime.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -63,7 +63,7 @@ endif
|
||||||
ifeq ($(GNUSTEP_TARGET_OS),cygwin)
|
ifeq ($(GNUSTEP_TARGET_OS),cygwin)
|
||||||
libgnustep-base_LIBRARIES_DEPEND_UPON += -lobjc
|
libgnustep-base_LIBRARIES_DEPEND_UPON += -lobjc
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring darwin1, $(GNUSTEP_TARGET_OS)), darwin1)
|
ifeq ($(findstring darwin, $(GNUSTEP_TARGET_OS)), darwin)
|
||||||
libgnustep-base_LIBRARIES_DEPEND_UPON += $(CONFIG_SYSTEM_LIBS) \
|
libgnustep-base_LIBRARIES_DEPEND_UPON += $(CONFIG_SYSTEM_LIBS) \
|
||||||
-flat_namespace
|
-flat_namespace
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1807,8 +1807,8 @@ static IMP _xRefImp; /* Serialize a crossref. */
|
||||||
GSIArrayRemoveAllItems(_objAry);
|
GSIArrayRemoveAllItems(_objAry);
|
||||||
GSIArrayRemoveAllItems(_ptrAry);
|
GSIArrayRemoveAllItems(_ptrAry);
|
||||||
}
|
}
|
||||||
GSIArrayAddItem(_clsAry, (GSIArrayItem)nil);
|
GSIArrayAddItem(_clsAry, (GSIArrayItem)(void*)0);
|
||||||
GSIArrayAddItem(_objAry, (GSIArrayItem)nil);
|
GSIArrayAddItem(_objAry, (GSIArrayItem)(void*)0);
|
||||||
GSIArrayAddItem(_ptrAry, (GSIArrayItem)(void*)0);
|
GSIArrayAddItem(_ptrAry, (GSIArrayItem)(void*)0);
|
||||||
}
|
}
|
||||||
NS_HANDLER
|
NS_HANDLER
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue