Commit 77317ca7 authored by Marc-André Lemburg's avatar Marc-André Lemburg

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.
parent 77249442
...@@ -39,6 +39,9 @@ Used in: LONG_LONG ...@@ -39,6 +39,9 @@ Used in: LONG_LONG
#else #else
#define Py_PROTO(x) () #define Py_PROTO(x) ()
#endif #endif
#ifndef Py_FPROTO
#define Py_FPROTO(x) Py_PROTO(x)
#endif
/* typedefs for some C9X-defined synonyms for integral types. /* typedefs for some C9X-defined synonyms for integral types.
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment