Commit ee308712 authored by Robert Bradshaw's avatar Robert Bradshaw

Revert "Py 2.4 fixes."

PyDict_Next went from int* to Py_ssize_t*.

This reverts commit 7932ecf3.
parent 6c9398f8
...@@ -523,9 +523,9 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): ...@@ -523,9 +523,9 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
#endif #endif
#if PY_VERSION_HEX < 0x02050000 #if PY_VERSION_HEX < 0x02050000
typedef long Py_ssize_t; typedef int Py_ssize_t;
#define PY_SSIZE_T_MAX LONG_MAX #define PY_SSIZE_T_MAX INT_MAX
#define PY_SSIZE_T_MIN LONG_MIN #define PY_SSIZE_T_MIN INT_MIN
#define PY_FORMAT_SIZE_T \"\" #define PY_FORMAT_SIZE_T \"\"
#define PyInt_FromSsize_t(z) PyInt_FromLong(z) #define PyInt_FromSsize_t(z) PyInt_FromLong(z)
#define PyInt_AsSsize_t(o) PyInt_AsLong(o) #define PyInt_AsSsize_t(o) PyInt_AsLong(o)
......
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