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