summaryrefslogtreecommitdiff
path: root/Lib/python/pyhead.swg
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/python/pyhead.swg')
-rw-r--r--Lib/python/pyhead.swg1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/python/pyhead.swg b/Lib/python/pyhead.swg
index 63df684b6..55eb95a6d 100644
--- a/Lib/python/pyhead.swg
+++ b/Lib/python/pyhead.swg
@@ -211,4 +211,5 @@ typedef destructor freefunc;
#if PY_VERSION_HEX < 0x03020000
#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
+#define Py_hash_t long
#endif