Skip to content

Commit

Permalink
Attempt 4
Browse files Browse the repository at this point in the history
  • Loading branch information
nineteendo committed Feb 3, 2025
1 parent ae29da9 commit 0a0ea66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jsonyx/_speedups.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@

#if PY_VERSION_HEX < 0x03090000
#if !defined(PyObject_CallOneArg)
#define PyObject_CallOneArg(callable, arg) PyObject_CallFunctionObjArgs(callable, arg, NULL);
#define PyObject_CallOneArg(callable, arg) PyObject_CallFunctionObjArgs(callable, arg, NULL)
#endif
#endif /* PY_VERSION_HEX < 0x03090000 */

#if PY_VERSION_HEX < 0x03120000
#if !defined(Py_INFINITY)
#define Py_INFINITY Py_HUGE_VAL;
#define Py_INFINITY Py_HUGE_VAL
#endif
#endif /* PY_VERSION_HEX < 0x03120000 */

Expand Down

0 comments on commit 0a0ea66

Please sign in to comment.