Don't use Object in configure tests (not present in GNUstep runtime).

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32041 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
theraven 2011-02-10 18:54:37 +00:00
parent f436ef0067
commit a2acc777a2
2 changed files with 7 additions and 1 deletions

View file

@ -9,7 +9,7 @@
int
main()
{
id o = [Object new];
id o = [NSObject new];
pthread_t tid;
void *value_ptr;

View file

@ -39,6 +39,12 @@
}
@end
@implementation NSObject
+ (id)new
{
NSObject *obj = calloc(sizeof(id), 1);
obj->isa = self;
return obj;
}
@end
@interface NSConstantString : NSObject