You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/reportlab/files/reportlab-2.5-pypy-implicit...

14 lines
395 B

PyPy does not provide the PyArg_NoArgs macro.
--- a/src/rl_addons/rl_accel/sgmlop.c
+++ b/src/rl_addons/rl_accel/sgmlop.c
@@ -52,6 +52,9 @@
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
#include "Python.h"
+#ifndef PyArg_NoArgs
+#define PyArg_NoArgs(v) PyArg_Parse(v, "")
+#endif
#if PY_VERSION_HEX < 0x02050000
# define Py_ssize_t int
# define lenfunc inquiry