]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
change in staticforward -- added statichere
authorGuido van Rossum <guido@python.org>
Tue, 21 Feb 1995 21:06:10 +0000 (21:06 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 21 Feb 1995 21:06:10 +0000 (21:06 +0000)
Include/object.h

index 98a6b75f16cb970f965a2ae1d0228406c939c7c0..9c9b6893fdc38b8e2a8234e6f5935a2b63a4c6e3 100644 (file)
@@ -376,9 +376,15 @@ object, so I can't just put extern in all cases. :-( )
 
 #ifdef BAD_STATIC_FORWARD
 #define staticforward extern
+#ifdef __SC__
+#define statichere
 #else
+#define statichere static
+#endif /* __SC__ */
+#else /* !BAD_STATIC_FORWARD */
 #define staticforward static
-#endif /* BAD_STATIC_FORWARD */
+#define statichere static
+#endif /* !BAD_STATIC_FORWARD */
 
 
 /*