Skip to content

Commit

Permalink
Attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
nineteendo committed Feb 3, 2025
1 parent 1a1705f commit 0a9d491
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/jsonyx/_speedups.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
#endif
#endif /* PY_VERSION_HEX < 0x03090000 */

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

typedef struct _PyScannerObject {
PyObject_HEAD
Expand Down

0 comments on commit 0a9d491

Please sign in to comment.