From: Jelmer Vernooij Date: Tue, 23 Dec 2008 10:48:14 +0000 (+0100) Subject: pyldb: Provide replacement for sizeargfunc, not available before Python2.5. X-Git-Tag: samba-4.0.0alpha6~393 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bbd2cbab73d46d0f8e8ba3fe164b6802b379b06;p=thirdparty%2Fsamba.git pyldb: Provide replacement for sizeargfunc, not available before Python2.5. --- diff --git a/source4/lib/ldb/pyldb.c b/source4/lib/ldb/pyldb.c index f4f43a3d0b2..ed77added5d 100644 --- a/source4/lib/ldb/pyldb.c +++ b/source4/lib/ldb/pyldb.c @@ -32,6 +32,7 @@ #if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 5 typedef int Py_ssize_t; typedef inquiry lenfunc; +typedef intargfunc sizeargfunc; #endif /* Picked out of thin air. To do this properly, we should probably have some part of the