From 10fc53a0737f6da7e3af61178eb1b23a05a840b0 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 18 Oct 2016 13:43:24 +0300 Subject: drop ancient check for Python 2.5, not needed these days --- src/caja-python.h | 6 ------ 1 file changed, 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 #include -#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; -- cgit v1.2.1