Skip to content

Commit 1b18761

Browse files
committed
Use hex literal for 3.15
1 parent 4c9e918 commit 1b18761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/modsupport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ PyAPI_FUNC(PyObject *) PyModule_FromDefAndSpec2(PyModuleDef *def,
9494
#endif /* New in 3.5 */
9595

9696
/* ABI info & checking (new in 3.15) */
97-
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= _Py_PACK_VERSION(3, 15)
97+
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030f0000
9898
typedef struct PyABIInfo {
9999
uint8_t abiinfo_major_version;
100100
uint8_t abiinfo_minor_version;

0 commit comments

Comments
 (0)