summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-21 21:06:10 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-21 21:06:10 (GMT)
commit57836fe9987ae09a9b8509491b75ba3ae82546f6 (patch)
treedb76436d9b68f2e49bdc278685245418f7c3a22c /Include/object.h
parent4f508cc80668dfbe75d407f867806a9bb778f919 (diff)
downloadcpython-57836fe9987ae09a9b8509491b75ba3ae82546f6.zip
cpython-57836fe9987ae09a9b8509491b75ba3ae82546f6.tar.gz
cpython-57836fe9987ae09a9b8509491b75ba3ae82546f6.tar.bz2
change in staticforward -- added statichere
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h
index 98a6b75..9c9b689 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -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 */
/*