changeset 11534:9777a3b19efe

util.h: Add a PyInt_AsLong definition for usage in the inotify module.
author Renato Cunha <renatoc@gmail.com>
date Fri, 02 Jul 2010 16:21:38 -0300
parents 5be8760d2fb3
children 09cb56b760b4
files mercurial/util.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 */