diff -r 8abe9264c73a -r d576b7394646 mercurial/util.h --- a/mercurial/util.h Sat Oct 08 17:51:29 2016 +0200 +++ b/mercurial/util.h Sat Oct 08 19:02:44 2016 +0200 @@ -13,6 +13,7 @@ #if PY_MAJOR_VERSION >= 3 #define IS_PY3K +#define PyInt_Type PyLong_Type #define PyInt_FromLong PyLong_FromLong #define PyInt_AsLong PyLong_AsLong