mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
2573910c2b
commit
042b5da515
2 changed files with 7 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
int
|
||||
main()
|
||||
{
|
||||
id o = [Object new];
|
||||
id o = [NSObject new];
|
||||
pthread_t tid;
|
||||
void *value_ptr;
|
||||
|
||||
|
|
|
@ -39,6 +39,12 @@
|
|||
}
|
||||
@end
|
||||
@implementation NSObject
|
||||
+ (id)new
|
||||
{
|
||||
NSObject *obj = calloc(sizeof(id), 1);
|
||||
obj->isa = self;
|
||||
return obj;
|
||||
}
|
||||
@end
|
||||
|
||||
@interface NSConstantString : NSObject
|
||||
|
|
Loading…
Reference in a new issue