summaryrefslogtreecommitdiffstats
path: root/libshiboken/sbkpython.h
diff options
context:
space:
mode:
Diffstat (limited to 'libshiboken/sbkpython.h')
-rw-r--r--libshiboken/sbkpython.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libshiboken/sbkpython.h b/libshiboken/sbkpython.h
index d269c7e9..850f122f 100644
--- a/libshiboken/sbkpython.h
+++ b/libshiboken/sbkpython.h
@@ -49,6 +49,8 @@
#define SBK_NB_BOOL(x) (x).nb_nonzero
#define SBK_STR_NAME "str"
#define SBK_PyMethod_New(X, Y) PyMethod_New(X, Y, (PyObject*)Py_TYPE(Y))
+
+ #define Py_hash_t long
#endif
#endif