From 8cbf6d40a0132764ad51e7416aa7034966875091 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Mon, 28 Jun 2021 13:17:45 +0200 Subject: [PATCH] cupsipp.h: define PY_SSIZE_T_CLEAN Fixes traceback during IPPRequest.writeIO with Python 3.10 --- NEWS | 2 ++ cupsipp.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/cupsipp.h b/cupsipp.h index 2a15ce6..b890198 100644 --- a/cupsipp.h +++ b/cupsipp.h @@ -21,6 +21,8 @@ #ifndef HAVE_CUPSIPP_H #define HAVE_CUPSIPP_H +#define PY_SSIZE_T_CLEAN + #include #include