Skip to content

Commit

Permalink
Issue #12 swap defines around
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson318 committed Feb 22, 2024
1 parent dc98248 commit eb7e749
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ndicapimodule.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
//#define PY_INT_OBJECT_OB_IVAL(ob) PyLong_AsLong((PyObject*)(ob))
#define CYTHON_USE_PYLONG_INTERNALS 1
#if PY_MINOR_VERSION < 12
#define PY_INT_OBJECT_OB_IVAL(ob) ob->long_value.ob_digit[0]
#else
#define PY_INT_OBJECT_OB_IVAL(ob) ob->ob_digit[0]
#else
#define PY_INT_OBJECT_OB_IVAL(ob) ob->long_value.ob_digit[0]
#endif
#define cmpfunc PyAsyncMethods*
#else
Expand Down

0 comments on commit eb7e749

Please sign in to comment.