Darwin fixes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9680 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2001-04-24 03:19:30 +00:00
parent ff4e61efee
commit 5c3e777f95
4 changed files with 14 additions and 7 deletions

View file

@ -1,3 +1,9 @@
2001-04-23 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/base/NSLock.h: Fix NeXT_RUNTIME typo.
* Headers/gnustep/base/objc-gnu2next.h: Change *_EXPORT to extern
* Source/o_vscanf.c: include objc-gnu2next.h
2001-04-24 Nicola Pero <n.pero@mi.flashnet.it>
* Testing/benchmark.m (bench_object): Use a choice of the 10 more

View file

@ -32,7 +32,7 @@
#define _GNUstep_H_NSLock
#include <Foundation/NSObject.h>
#ifdef NeXT_RUNTIMME
#ifdef NeXT_RUNTIME
#include <base/thr-mach.h>
#endif

View file

@ -131,12 +131,12 @@ objc_free(void *mem);
** Users should call the normal objc routines above for
** memory allocation and disposal within their programs.
*/
objc_EXPORT void *(*_objc_malloc)(size_t);
objc_EXPORT void *(*_objc_atomic_malloc)(size_t);
objc_EXPORT void *(*_objc_valloc)(size_t);
objc_EXPORT void *(*_objc_realloc)(void *, size_t);
objc_EXPORT void *(*_objc_calloc)(size_t, size_t);
objc_EXPORT void (*_objc_free)(void *);
extern void *(*_objc_malloc)(size_t);
extern void *(*_objc_atomic_malloc)(size_t);
extern void *(*_objc_valloc)(size_t);
extern void *(*_objc_realloc)(void *, size_t);
extern void *(*_objc_calloc)(size_t, size_t);
extern void (*_objc_free)(void *);
#endif /* NeXT_RUNTIME */

View file

@ -60,6 +60,7 @@ Cambridge, MA 02111, USA. */
#include <stdlib.h>
#include <string.h>
#include <objc/objc-api.h>
#include <base/objc-gnu2next.h>
extern double strtod(const char *str, char **ptr);
extern long strtol(const char *str, char** ptr, int base);