diff mercurial/util.h @ 21838:0022ee690446

util.h: declare dirstateTupleType variable instead of defining it The definition is already in parsers.c This patch avoids, at least on Mac OS X 10.6.8, build issue since e250b8300e6e
author Andr? Sintzoff <andre.sintzoff@gmail.com>
date Thu, 03 Jul 2014 19:05:04 +0200
parents e250b8300e6e
children e2bf959a5a0d
line wrap: on
line diff
--- a/mercurial/util.h	Fri Jun 13 15:59:18 2014 -0700
+++ b/mercurial/util.h	Thu Jul 03 19:05:04 2014 +0200
@@ -159,7 +159,7 @@
 	int mtime;
 } dirstateTupleObject;
 
-PyTypeObject dirstateTupleType;
+extern PyTypeObject dirstateTupleType;
 #define dirstate_tuple_check(op) (Py_TYPE(op) == &dirstateTupleType)
 
 static inline uint32_t getbe32(const char *c)