Disable undef on pypy

This commit is contained in:
wiredfool 2017-04-19 13:27:59 -07:00
parent c3717da45a
commit 4e160cd981

View File

@ -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