summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2000-10-05 17:25:45 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2000-10-05 17:25:45 (GMT)
commit77317ca7dc4d4267c2c23b3825ba95c3978c9cdd (patch)
tree64af8293e1c19757be311cdf32a7791c0c2d56b2
parent77249442a58b4afb561f7c8290d63bea85126d9d (diff)
downloadcpython-77317ca7dc4d4267c2c23b3825ba95c3978c9cdd.zip
cpython-77317ca7dc4d4267c2c23b3825ba95c3978c9cdd.tar.gz
cpython-77317ca7dc4d4267c2c23b3825ba95c3978c9cdd.tar.bz2
Added Py_FPROTO macro which was available in Python 1.5.x and below.
This should not be used for new code, but will probably make porting old extensions to 2.0 a lot easier. Also see Bug #116011.
-rw-r--r--Include/pyport.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index f35d8e6..4bc6016 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -39,6 +39,9 @@ Used in: LONG_LONG
#else
#define Py_PROTO(x) ()
#endif
+#ifndef Py_FPROTO
+#define Py_FPROTO(x) Py_PROTO(x)
+#endif
/* typedefs for some C9X-defined synonyms for integral types.
*