]> gcc.gnu.org Git - gcc.git/commitdiff
#ifdef out uses of TypedStream for the alpha, not supported yet.
authorDoug Evans <dje@gnu.org>
Mon, 24 Jan 1994 23:28:33 +0000 (23:28 +0000)
committerDoug Evans <dje@gnu.org>
Mon, 24 Jan 1994 23:28:33 +0000 (23:28 +0000)
From-SVN: r6426

gcc/objc/Object.h
gcc/objc/Object.m

index cb370ca2396872d2df878cca327594fddc9225f3..cb409d23cf527b0aac13817b1674ebcb339e83f7 100644 (file)
@@ -112,10 +112,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
         /* Archiving */
 + (int)version;
 + setVersion:(int)aVersion;
+
+#ifndef __alpha__ /* TypedStream not supported on alpha yet.  */
 + (int)streamVersion: (TypedStream*)aStream;
 
 - read: (TypedStream*)aStream;
 - write: (TypedStream*)aStream;
+#endif
+
 - awake;
 
 @end
index 622dcbe64c38436b7027881a09ee4685e85abb27..d62094860f73b7c2524c6e61e75ae82c994b299a 100644 (file)
@@ -339,15 +339,15 @@ extern int errno;
   return self;
 }
 
+#ifndef __alpha__ /* TypedStream not supported on alpha yet.  */
 + (int)streamVersion: (TypedStream*)aStream
 {
-#ifndef __alpha__
   if (aStream->mode == OBJC_READONLY)
     return objc_get_stream_class_version (aStream, self);
   else
-#endif
     return class_get_version (self);
 }
+#endif
 
 // These are used to write or read the instance variables 
 // declared in this particular part of the object.  Subclasses
@@ -355,17 +355,21 @@ extern int errno;
 // before doing their own archiving.  These methods are private, in
 // the sense that they should only be called from subclasses.
 
+#ifndef __alpha__
 - read: (TypedStream*)aStream
 {
   // [super read: aStream];  
   return self;
 }
+#endif
 
+#ifndef __alpha__
 - write: (TypedStream*)aStream
 {
   // [super write: aStream];
   return self;
 }
+#endif
 
 - awake
 {
This page took 0.06927 seconds and 5 git commands to generate.