summaryrefslogtreecommitdiff
path: root/source4/param
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/param
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/param')
-rw-r--r--source4/param/pyparam.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/param/pyparam.c b/source4/param/pyparam.c
index 14ffb2d8c38..d1ba009d9ba 100644
--- a/source4/param/pyparam.c
+++ b/source4/param/pyparam.c
@@ -26,12 +26,6 @@
void initparam(void);
-/* 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;
-#endif
-
#define PyLoadparmContext_AsLoadparmContext(obj) pytalloc_get_type(obj, struct loadparm_context)
#define PyLoadparmService_AsLoadparmService(obj) pytalloc_get_type(obj, struct loadparm_service)