summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-10-18 13:43:24 +0300
committermonsta <[email protected]>2016-10-18 13:43:24 +0300
commit10fc53a0737f6da7e3af61178eb1b23a05a840b0 (patch)
tree2d2d9390a201591b7e797c0598b5f9bded726b2c
parenta42b47d1cc4142963e810386e706b550d9db64f8 (diff)
downloadpython-caja-10fc53a0737f6da7e3af61178eb1b23a05a840b0.tar.bz2
python-caja-10fc53a0737f6da7e3af61178eb1b23a05a840b0.tar.xz
drop ancient check for Python 2.5, not needed these days
-rw-r--r--src/caja-python.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/caja-python.h b/src/caja-python.h
index 9eb312e..28b95e2 100644
--- a/src/caja-python.h
+++ b/src/caja-python.h
@@ -26,12 +26,6 @@
#include <glib/gprintf.h>
#include <Python.h>
-#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
-typedef int Py_ssize_t;
-#define PY_SSIZE_T_MAX INT_MAX
-#define PY_SSIZE_T_MIN INT_MIN
-#endif
-
typedef enum {
CAJA_PYTHON_DEBUG_MISC = 1 << 0,
} CajaPythonDebug;