diff options
author | Andrew Bartlett <abartlet@samba.org> | 2016-01-04 13:23:50 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2016-01-07 23:33:10 +0100 |
commit | 0e58705a5bc11a9556d0774f9cb2fbb3897839c8 (patch) | |
tree | 7d9fd968dac5acf052ccfb5e58a3d99e97c2d7ba /source3/passdb | |
parent | 8bac96de8265b82815276a14aaba3295d19845aa (diff) | |
download | samba-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 'source3/passdb')
-rw-r--r-- | source3/passdb/py_passdb.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/passdb/py_passdb.c b/source3/passdb/py_passdb.c index ca43f70cdb5..0d4ca3bff15 100644 --- a/source3/passdb/py_passdb.c +++ b/source3/passdb/py_passdb.c @@ -27,13 +27,6 @@ #include "secrets.h" #include "idmap.h" -/* 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 - #ifndef Py_TYPE /* Py_TYPE is only available on Python > 2.6 */ #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) #endif |