# HG changeset patch # User Renato Cunha # Date 1278098498 10800 # Node ID 9777a3b19efe4b590768e5c3cd4bbd4f76640bdd # Parent 5be8760d2fb3a22e77238ddf27e4e853ec15a052 util.h: Add a PyInt_AsLong definition for usage in the inotify module. diff -r 5be8760d2fb3 -r 9777a3b19efe mercurial/util.h --- a/mercurial/util.h Fri Jul 02 16:21:36 2010 -0300 +++ b/mercurial/util.h Fri Jul 02 16:21:38 2010 -0300 @@ -12,6 +12,7 @@ #define IS_PY3K #define PyInt_FromLong PyLong_FromLong +#define PyInt_AsLong PyLong_AsLong #endif /* PY_MAJOR_VERSION */