From a4d5b9c366eed51994438c345eefe19956023fcc Mon Sep 17 00:00:00 2001 From: gilpinheiro Date: Wed, 19 Jan 2022 20:39:28 -0500 Subject: [PATCH] Update _crc16module.c Add PY_SSIZE_T_CLEAN define to allow compilation on 3.10 --- src/_crc16module.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/_crc16module.c b/src/_crc16module.c index 2df8283..2dcf885 100644 --- a/src/_crc16module.c +++ b/src/_crc16module.c @@ -19,6 +19,7 @@ * * **************************************************************************/ +#define PY_SSIZE_T_CLEAN #include /* table for calculating CRC