Mercurial > hg
changeset 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 | 61b333b982ea |
children | 521355a95636 |
files | mercurial/util.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)