summaryrefslogtreecommitdiff
path: root/src/caja-python.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-python.h')
-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;