summaryrefslogtreecommitdiff
path: root/source4/web_server
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/web_server
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/web_server')
-rw-r--r--source4/web_server/wsgi.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/web_server/wsgi.c b/source4/web_server/wsgi.c
index f0e7bd59b85..0b1c5d29014 100644
--- a/source4/web_server/wsgi.c
+++ b/source4/web_server/wsgi.c
@@ -28,13 +28,6 @@
#include "lib/tsocket/tsocket.h"
#include "python/modules.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
-
typedef struct {
PyObject_HEAD
struct websrv_context *web;