mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 21:24:31 +03:00
Disable undef on pypy
This commit is contained in:
parent
c3717da45a
commit
4e160cd981
|
@ -10,7 +10,7 @@
|
||||||
#include "Python.h"
|
#include "Python.h"
|
||||||
|
|
||||||
/* Workaround issue #2479 */
|
/* 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
|
#undef PySlice_GetIndicesEx
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user