More defs for Darwin.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10791 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2001-08-28 18:45:17 +00:00
parent 93a7da31c4
commit 9e0dd41e9d
7 changed files with 83 additions and 4 deletions

View file

@ -780,7 +780,7 @@ static BOOL deallocNotifications = NO;
}
if (types == 0)
{
types = aSelector->sel_types;
types = sel_get_type(aSelector);
}
if (types == 0)
{
@ -2332,9 +2332,11 @@ GSSetValue(NSObject *self, NSString *key, id val, SEL sel,
+ (int) streamVersion: (TypedStream*)aStream
{
#ifndef NeXT_RUNTIME
if (aStream->mode == OBJC_READONLY)
return objc_get_stream_class_version (aStream, self);
else
#endif
return class_get_version (self);
}