From 19e04b3fce70f1b2a3128e3b22e36f74efde0bbb Mon Sep 17 00:00:00 2001 From: Stephen Thompson Date: Thu, 22 Feb 2024 08:49:32 +0000 Subject: [PATCH] Issue #12 try hack from https://github.com/cython/cython/issues/5238 --- ndicapimodule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndicapimodule.cxx b/ndicapimodule.cxx index 6d4c78f..27d9c88 100644 --- a/ndicapimodule.cxx +++ b/ndicapimodule.cxx @@ -27,7 +27,7 @@ #define PyIntObject PyLongObject //#define PY_INT_OBJECT_OB_IVAL(ob) PyLong_AsLong((PyObject*)(ob)) #define CYTHON_USE_PYLONG_INTERNALS 1 - #define PY_INT_OBJECT_OB_IVAL(ob) ob->ob_digit[0] + #define PY_INT_OBJECT_OB_IVAL(ob) ob->long_value->ob_digit[0] #define cmpfunc PyAsyncMethods* #else #define MOD_ERROR_VAL