mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-25 00:34:14 +03:00
Disable undef on pypy
This commit is contained in:
parent
c3717da45a
commit
4e160cd981
|
@ -10,7 +10,7 @@
|
|||
#include "Python.h"
|
||||
|
||||
/* Workaround issue #2479 */
|
||||
#if PY_VERSION_HEX < 0x03070000 && defined(PySlice_GetIndicesEx)
|
||||
#if PY_VERSION_HEX < 0x03070000 && defined(PySlice_GetIndicesEx) && !defined(PYPY_VERSION)
|
||||
#undef PySlice_GetIndicesEx
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user