Commit e2bf7e63 authored by Vladimir Marangozov's avatar Vladimir Marangozov

Add missing Py_PROTO macro for backward compatibility with old extensions

(sources) which may still use it and now fail to compile.
Reported by M-A Lemburg.  Closes [ Bug #113576 ].
parent bbcf2a7c
......@@ -32,7 +32,13 @@ Used in: LONG_LONG
**************************************************************************/
#define ANY void /* For API compatibility only. Obsolete, do not use. */
/* For backward compatibility only. Obsolete, do not use. */
#define ANY void
#ifdef HAVE_PROTOTYPES
#define Py_PROTO(x) x
#else
#define Py_PROTO(x) ()
#endif
/* 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