summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2016-01-04 13:23:50 +1300
committerAndrew Bartlett <abartlet@samba.org>2016-01-07 23:33:10 +0100
commit0e58705a5bc11a9556d0774f9cb2fbb3897839c8 (patch)
tree7d9fd968dac5acf052ccfb5e58a3d99e97c2d7ba /source4/auth
parent8bac96de8265b82815276a14aaba3295d19845aa (diff)
downloadsamba-0e58705a5bc11a9556d0774f9cb2fbb3897839c8.tar.gz
python: Remove Python 2.4 support macros
We require Python 2.6 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/pyauth.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/auth/pyauth.c b/source4/auth/pyauth.c
index d79d41782d9..37f19fa2421 100644
--- a/source4/auth/pyauth.c
+++ b/source4/auth/pyauth.c
@@ -36,13 +36,6 @@ void initauth(void);
staticforward PyTypeObject PyAuthContext;
-/* There's no Py_ssize_t in 2.4, apparently */
-#if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 5
-typedef int Py_ssize_t;
-typedef inquiry lenfunc;
-typedef intargfunc ssizeargfunc;
-#endif
-
static PyObject *PyAuthSession_FromSession(struct auth_session_info *session)
{
return py_return_ndr_struct("samba.dcerpc.auth", "session_info", session, session);