diff mercurial/util.h @ 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 4494fb02d549
children 09cb56b760b4
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 */